SimpleEnumJsonFormatting

uk.gov.hmrc.apiplatform.modules.common.domain.services.SimpleEnumJsonFormatting

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createFormatFor[T](name: String, read: String => Option[T], write: T => String): Format[T]
def createStringFormatFor[T](name: String, read: String => Option[T], write: T => String = ...): Format[T]
def screamingSnakeCaseFormatFor[T](name: String, read: String => Option[T]): Format[T]
def snakeCaseFormatFor[T](name: String, read: String => Option[T]): Format[T]

Deprecated methods

def createEnumFormatFor[T](name: String, read: String => Option[T]): Format[T]

Attributes

Deprecated
[Since version 1.2.0] Replaced by screamingSnakeCaseFormatFor