Package

com.trueaccord.scalapb

json

Permalink

package json

Visibility
  1. Public
  2. All

Type Members

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

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

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

    Permalink
  4. class Parser extends AnyRef

    Permalink
  5. class Printer extends AnyRef

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

    Permalink

    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.

    You need to

Value Members

  1. object AnyFormat

    Permalink
  2. object Durations

    Permalink
  3. object JsonFormat

    Permalink
  4. object NameUtils

    Permalink
  5. object StructFormat

    Permalink
  6. object Timestamps

    Permalink
  7. object TypeRegistry extends Serializable

    Permalink

Ungrouped