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
Show all
Self type
JSON.type

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JSONNumber
trait JSONValue
class Object
trait Matchable
class Any
Show all
case object JSONNull extends JSONValue

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
Show all
Self type
JSONNull.type
sealed trait JSONNumber extends JSONValue

Attributes

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
Show all
object JSONObject

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JSONValue
class Object
trait Matchable
class Any
Show all
sealed trait JSONValue

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JSONArray
class JSONBoolean
object JSONNull.type
trait JSONNumber
class JSONDouble
class JSONLong
class JSONObject
class JSONString
Show all

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