JSONValue

wvlet.airframe.json.JSON.JSONValue
sealed trait JSONValue

Attributes

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

Members list

Value members

Abstract methods

def toJSON: String

Concrete methods

def /(name: String): Seq[JSONValue]
Implicitly added by JSONValueOps
def apply(name: String): JSONValue
Implicitly added by JSONValueOps
def apply(i: Int): JSONValue
Implicitly added by JSONValueOps
def getValue: Any
Implicitly added by JSONValueOps
def isNull: Boolean
Implicitly added by JSONValueOps
def toArrayValue: IndexedSeq[JSONValue]
Implicitly added by JSONValueOps
def toBooleanValue: Boolean
Implicitly added by JSONValueOps
def toDoubleValue: Double
Implicitly added by JSONValueOps
def toLongValue: Long
Implicitly added by JSONValueOps
def toObjectValue: Map[String, JSONValue]
Implicitly added by JSONValueOps
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def toStringValue: String
Implicitly added by JSONValueOps

Deprecated methods

def value: Any
Implicitly added by JSONValueOps

Attributes

Deprecated
[Since version 21.5.3] .value will be ambiguous in Scala 3. Use getValue instead