Printer

scalapb_playjson.Printer
See thePrinter companion object
class Printer

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(includingDefaultValueFields: Boolean, isPrintingEmptyArray: Boolean, preservingProtoFieldNames: Boolean, formattingLongAsNumber: Boolean, formattingEnumsAsNumber: Boolean, formatRegistry: FormatRegistry, typeRegistry: TypeRegistry)

Attributes

Deprecated
[Since version 0.12.0-M1] Use new Printer() and chain includingDefaultValueFields, preservingProtoFieldNames, etc.
Source
JsonFormat.scala

Concrete methods

def serializeSingleValue(fd: FieldDescriptor, value: PValue, formattingLongAsNumber: Boolean): JsValue

Attributes

Source
JsonFormat.scala
def toJson[A <: GeneratedMessage](m: A): JsValue

Attributes

Source
JsonFormat.scala
def typeRegistry: TypeRegistry

Attributes

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

Attributes

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

Attributes

Source
JsonFormat.scala