package
json4s
Type Members
-
case class
EnumFormatter[T](writer: (Printer, T) ⇒ JValue, parser: (Parser, JValue) ⇒ Option[T]) extends Product with Serializable
-
case class
FormatRegistry(messageFormatters: Map[Class[_], Formatter[_]] = Map.empty, enumFormatters: Map[EnumDescriptor, EnumFormatter[EnumValueDescriptor]] = Map.empty, registeredCompanions: Seq[GenericCompanion] = Seq.empty) extends Product with Serializable
-
case class
Formatter[T](writer: (Printer, T) ⇒ JValue, parser: (Parser, JValue) ⇒ T) extends Product with Serializable
-
case class
JsonFormatException(msg: String, cause: Exception) extends Exception with Product with Serializable
-
class
Parser extends AnyRef
-
class
Printer extends AnyRef
-
case class
TypeRegistry(companions: Map[String, GenericCompanion] = Map.empty, filesSeen: Set[String] = Set.empty) extends Product with Serializable
TypeRegistry is used to map the @type field in Any messages to a ScalaPB generated message.
TypeRegistries are added to Printers and Parsers to enable printing and parsing of Any messages.