Parser

scalapb_playjson.Parser
See theParser companion object
class Parser

Attributes

Companion
object
Source
JsonFormat.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this()

Attributes

Source
JsonFormat.scala

Deprecated constructors

def this(preservingProtoFieldNames: Boolean, formatRegistry: FormatRegistry, typeRegistry: TypeRegistry)

Attributes

Deprecated
[Since version 0.12.0-M1] Use new Parser() and chain with usingTypeRegistry or formatRegistry
Source
JsonFormat.scala

Concrete methods

def defaultEnumParser(enumDescriptor: EnumDescriptor, value: JsValue): Option[EnumValueDescriptor]

Attributes

Source
JsonFormat.scala
def fromJson[A <: GeneratedMessage](value: JsValue)(implicit cmp: GeneratedMessageCompanion[A]): A

Attributes

Source
JsonFormat.scala
def fromJsonString[A <: GeneratedMessage](str: String)(implicit cmp: GeneratedMessageCompanion[A]): A

Attributes

Source
JsonFormat.scala
def typeRegistry: TypeRegistry

Attributes

Source
JsonFormat.scala
def withFormatRegistry(formatRegistry: FormatRegistry): Parser

Attributes

Source
JsonFormat.scala
def withTypeRegistry(typeRegistry: TypeRegistry): Parser

Attributes

Source
JsonFormat.scala