object JsonFormat
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonFormat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type GenericCompanion = GeneratedMessageCompanion[T] forSome {type T <: GeneratedMessage with Message[T]}
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultRegistry: FormatRegistry
- val EPSILON: Double
- val MAX_DOUBLE: BigDecimal
- val MAX_UINT64: BigInt
- val MIN_DOUBLE: BigDecimal
- val MORE_THAN_ONE: BigDecimal
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def defaultValue(fd: FieldDescriptor): PValue
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromJson[A <: GeneratedMessage with Message[A]](value: JValue)(implicit arg0: GeneratedMessageCompanion[A]): A
- def fromJsonString[A <: GeneratedMessage with Message[A]](str: String)(implicit arg0: GeneratedMessageCompanion[A]): A
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonName(fd: FieldDescriptor): String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseBigDecimal(value: String): BigDecimal
- def parseDouble(value: String): PDouble
- def parseFloat(str: String): PFloat
- def parseInt32(value: String): PValue
- def parseInt64(value: String): PValue
- def parsePrimitive(protoType: Type, value: JValue, onError: ⇒ PValue): PValue
- def parseUint32(value: String): PValue
- def parseUint64(value: String): PValue
- val parser: Parser
- def primitiveWrapperParser[T <: GeneratedMessage with Message[T]](implicit cmp: GeneratedMessageCompanion[T]): (Parser, JValue) ⇒ T
- def primitiveWrapperWriter[T <: GeneratedMessage with Message[T]](implicit cmp: GeneratedMessageCompanion[T]): (Printer, T) ⇒ JValue
- val printer: Printer
- implicit def protoToReader[T <: GeneratedMessage with Message[T]](implicit arg0: GeneratedMessageCompanion[T]): Reader[T]
- implicit def protoToWriter[T <: GeneratedMessage with Message[T]]: Writer[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toJson[A <: GeneratedMessage](m: A): JValue
- def toJsonString[A <: GeneratedMessage](m: A): String
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
parsePrimitive(scalaType: ScalaType, protoType: Type, value: JValue, onError: ⇒ PValue): PValue
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use parsePrimitive(protoType, value, onError) instead.