scalapb_playjson

package scalapb_playjson

Visibility
  1. Public
  2. All

Type Members

  1. case class FormatRegistry(messageFormatters: Map[Class[_], Formatter[_]] = ..., enumFormatters: Map[EnumDescriptor, Formatter[EnumValueDescriptor]] = ..., registeredCompanions: Seq[GenericCompanion] = collection.this.Seq.empty[Nothing]) extends Product with Serializable

  2. case class Formatter[T](writer: (Printer, T) ⇒ JsValue, parser: (Parser, JsValue) ⇒ T) extends Product with Serializable

  3. case class JsonFormatException(msg: String, cause: Exception) extends Exception with Product with Serializable

  4. class Parser extends AnyRef

  5. class Printer extends AnyRef

  6. case class TypeRegistry(companions: Map[String, GenericCompanion] = ..., filesSeen: Set[String] = scala.this.Predef.Set.empty[String]) extends Product with Serializable

    TypeRegistry is used to map the @type field in Any messages to a ScalaPB generated message.

Value Members

  1. object AnyFormat

  2. object Durations

  3. object JsonFormat

  4. object NameUtils

  5. object StructFormat

  6. object Timestamps

  7. object TypeRegistry extends Serializable

  8. object WellKnownTypes

Ungrouped