Object

wvlet.airframe.codec

JSONCodec

Related Doc: package codec

Permalink

object JSONCodec extends MessageCodec[String]

Codec for JSON String

Linear Supertypes
MessageCodec[String], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONCodec
  2. MessageCodec
  3. LogSupport
  4. LazyLogger
  5. LoggingMethods
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  7. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. def fromJson(json: String): String

    Permalink
    Definition Classes
    MessageCodec
  13. def fromMap(m: Map[String, Any]): String

    Permalink
    Definition Classes
    MessageCodec
  14. def fromMsgPack(msgpack: Array[Byte]): String

    Permalink
    Definition Classes
    MessageCodec
  15. def fromString(s: String): String

    Permalink

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    Definition Classes
    MessageCodec
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def pack(p: Packer, json: String): Unit

    Permalink
    Definition Classes
    JSONCodecMessageCodec
  27. def pack(v: String): MsgPack

    Permalink

    Converting the object into MessagePack (= Array[Byte])

    Converting the object into MessagePack (= Array[Byte])

    Definition Classes
    MessageCodec
  28. def packJsonValue(p: Packer, v: JSONValue): Unit

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toJSONObject(v: String): JSONObject

    Permalink
    Definition Classes
    MessageCodec
  31. def toJson(msgpack: Array[Byte]): String

    Permalink
  32. def toJson(v: String): String

    Permalink
    Definition Classes
    MessageCodec
  33. def toMsgPack(jsonValue: JSONValue): Array[Byte]

    Permalink
  34. def toMsgPack(jsonBytes: Array[Byte]): Array[Byte]

    Permalink
  35. def toMsgPack(v: String): Array[Byte]

    Permalink
    Definition Classes
    MessageCodec
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  38. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  39. def unpack(u: Unpacker, v: MessageContext): Unit

    Permalink
    Definition Classes
    JSONCodecMessageCodec
  40. def unpack(msgpack: MsgPack): String

    Permalink

    Converting the input MessagePack into an object.

    Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException

    Definition Classes
    MessageCodec
  41. def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[String]

    Permalink
    Definition Classes
    MessageCodec
  42. def unpackBytes(msgpack: Array[Byte]): Option[String]

    Permalink
    Definition Classes
    MessageCodec
  43. def unpackJson(json: String): Option[String]

    Permalink
    Definition Classes
    MessageCodec
  44. def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[String]

    Permalink
    Definition Classes
    MessageCodec
  45. def unpackMsgPack(msgpack: Array[Byte]): Option[String]

    Permalink
    Definition Classes
    MessageCodec
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  50. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 MessageCodec[String]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped