sealed trait Msg extends Readable with Writable

In-memory representation of the MessagePack data model

test - https://msgpack.org/index.html

Note that we do not model all the fine details of the MessagePack format in this type; fixed and variable length strings/maps/arrays are all modelled using the same Str/Obj/Arr types, and the various sized integers are all collapsed into Int32/Int64/UInt64. The appropriately sized versions are written out when the message is serialized to bytes.

Linear Supertypes
Writable, Readable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Msg
  2. Writable
  3. Readable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def arr: ArrayBuffer[Msg]

    Returns the elements of this Msg, fails if it is not a upack.Arr

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def binary: Array[Byte]

    Returns the String value of this Msg, fails if it is not a upack.Str

  7. def bool: Boolean

    Returns the Boolean value of this Msg, fails if it is not a upack.Bool

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def int32: Int

    Returns the Double value of this Msg, fails if it is not a upack.Int32, upack.Int64 or upack.UInt64

  14. def int64: Long

    Returns the Double value of this Msg, fails if it is not a upack.Int32, upack.Int64 or upack.UInt64

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isNull: Boolean

    Returns true if the value of this Msg is ujson.Null, false otherwise

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def obj: LinkedHashMap[Msg, Msg]

    Returns the key/value map of this Msg, fails if it is not a upack.Obj

  21. def str: String

    Returns the String value of this Msg, fails if it is not a upack.Str

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def transform[T](f: Visitor[_, T]): T
    Definition Classes
    MsgReadable
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def writeBytesTo(out: OutputStream): Unit
    Definition Classes
    Msg → Writable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Writable

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped