JBoolean

sealed abstract
class JBoolean extends JValue

Represents a JSON Boolean value, which can either be a JTrue or a JFalse

Companion
object
class JValue
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
object JFalse
object JTrue

Value members

Abstract methods

def get: Boolean

Concrete methods

def isEmpty: Boolean
override
def toJsAny: Any
Definition Classes

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product

Converts a unsafe.JValue to a ast.JValue. Note that when converting unsafe.JNumber, this can throw runtime error if the underlying string representation is not a correct number. Also when converting a ast.JObject to a ast.JObject, its possible to lose data if you have duplicate keys.

Converts a unsafe.JValue to a ast.JValue. Note that when converting unsafe.JNumber, this can throw runtime error if the underlying string representation is not a correct number. Also when converting a ast.JObject to a ast.JObject, its possible to lose data if you have duplicate keys.

See also
Inherited from
JValue