scalapb.json4s

Members list

Concise view

Type members

Classlikes

object AnyFormat

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Durations

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class EnumFormatter[T](writer: (Printer, T) => JValue, parser: (Parser, JValue) => Option[T])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FormatRegistry(messageFormatters: Map[GeneratedMessageCompanion[_], Formatter[_]], enumFormatters: Map[EnumDescriptor, EnumFormatter[EnumValueDescriptor]], registeredCompanions: Seq[GenericCompanion])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Formatter[T](writer: (Printer, T) => JValue, parser: (Parser, JValue) => T)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object JsonFormat

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class JsonFormatException(msg: String, cause: Exception) extends MappingException

Attributes

Graph
Supertypes
class MappingException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
object NameUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Parser

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type
class Parser

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Printer

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Printer.type
class Printer

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Timestamps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class TypeRegistry(companions: Map[String, GenericCompanion], filesSeen: Set[String])

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.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type