package json4s
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class EnumFormatter[T](writer: (Printer, T) ⇒ JValue, parser: (Parser, JValue) ⇒ Option[T]) extends Product with Serializable
- case class FormatRegistry(messageFormatters: Map[GeneratedMessageCompanion[_], 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.
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.
Value Members
- object AnyFormat
- object Durations
- object JsonFormat
- object NameUtils
- object Parser
- object Printer
- object StructFormat
- object Timestamps
- object TypeRegistry extends Serializable