JSON

wvlet.airframe.json.JSON$
object JSON extends LogSupport

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
JSON.type

Members list

Concise view

Type members

Classlikes

final case class JSONArray(v: IndexedSeq[JSONValue]) extends JSONValue

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
final case class JSONBoolean(v: Boolean) extends JSONValue

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
final case class JSONDouble(v: Double) extends JSONNumber

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
final case class JSONLong(v: Long) extends JSONNumber

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
case object JSONNull extends JSONValue

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
Self type
sealed trait JSONNumber extends JSONValue

Attributes

Graph
Supertypes
trait JSONValue
class Object
trait Matchable
class Any
Known subtypes
class JSONLong
final case class JSONObject(v: Seq[(String, JSONValue)]) extends JSONValue

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
object JSONObject

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class JSONString(v: String) extends JSONValue

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
sealed trait JSONValue

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JSONArray
object JSONNull.type
class JSONLong

Value members

Concrete methods

def format(v: JSONValue): String

Format JSON value

Format JSON value

Attributes

def parse(s: String): JSONValue

Parse JSON object or array

Parse JSON object or array

Attributes

def parse(s: Array[Byte]): JSONValue

Parse JSON object or array

Parse JSON object or array

Attributes

Parse JSON object or array

Parse JSON object or array

Attributes

def parseAny(s: String): JSONValue

Parse any json values including null

Parse any json values including null

Attributes

def parseAny(s: Array[Byte]): JSONValue

Parse any json values including null

Parse any json values including null

Attributes

Parse any json values including null

Parse any json values including null

Attributes

def quoteJSONString(s: String): String

This function can be used to properly quote Strings for JSON output.

This function can be used to properly quote Strings for JSON output.

Attributes

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods

Concrete fields