Class/Object

json

JBoolean

Related Docs: object JBoolean | package json

Permalink

sealed abstract class JBoolean extends JValue with JBooleanBase

Base type for JSON primitives JTrue and JFalse

Linear Supertypes
JBooleanBase, JValue, JValueBase, JValueLike, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JBoolean
  2. JBooleanBase
  3. JValue
  4. JValueBase
  5. JValueLike
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  2. abstract def not: JBoolean

    Permalink
  3. abstract def toJNumber: JNumber

    Permalink

    JS-like numeric representation of this value.

    JS-like numeric representation of this value.

    Definition Classes
    JBoolean → JValueLike
  4. abstract def toJString: JString

    Permalink

    JS-like string representation of this value.

    JS-like string representation of this value.

    Definition Classes
    JBoolean → JValueLike
  5. abstract def value: Boolean

    Permalink

    underlying scala value for this JValue

    underlying scala value for this JValue

    Definition Classes
    JBoolean → JBooleanBase → JValueLike

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==(to: JValue): Boolean

    Permalink
    Definition Classes
    JValueLike
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def ++(that: JValue): JValue

    Permalink

    concats another JObject or JArray onto this value.

    concats another JObject or JArray onto this value. Must be the same type!

    Definition Classes
    JValueLike
  5. def -[T](key: T)(implicit acc: JSONAccessor[T]): JValue

    Permalink
    Definition Classes
    JValueLike
  6. final def -(x: JValue): JValue

    Permalink

    equivalent to javascript delete object[field]

    equivalent to javascript delete object[field]

    Definition Classes
    JValueLike
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ===(x: JValue): Boolean

    Permalink
    Definition Classes
    JValueLike
  9. def \(idx: Int): JValue

    Permalink
    Definition Classes
    JValueLike
  10. def \(key: String): JValue

    Permalink

    alternate operator form of json.JValue#apply(key:String):json\.JValue

    alternate operator form of json.JValue#apply(key:String):json\.JValue

    Definition Classes
    JValueLike
  11. def appendJSONStringBuilder(settings: JSONBuilderSettings = JSONBuilderSettings.pretty, out: SimpleStringBuilder, lvl: Int): SimpleStringBuilder

    Permalink
    Definition Classes
    JBoolean → JValueLike
  12. def apply(key: String): JValue

    Permalink

    select a key from this JValue.

    select a key from this JValue. Equivalent to bracket selects in JS.

    Definition Classes
    JValueLike
  13. def apply(x: JValue): JValue

    Permalink

    select a key from this JValue using a JValue.

    select a key from this JValue using a JValue. Equivalent to bracket selects in JS.

    Definition Classes
    JValueLike
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def bool: Boolean

    Permalink

    gets the boolean value using jBoolean

    gets the boolean value using jBoolean

    Definition Classes
    JValueLike
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def d: JDynamic

    Permalink
    Definition Classes
    JValueLike
  18. def dynamic: JDynamic

    Permalink
    Definition Classes
    JValueLike
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def fields: Map[String, JValue]

    Permalink

    gets the Map[String, JValue] value using jObject

    gets the Map[String, JValue] value using jObject

    Definition Classes
    JValueLike
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isBoolean: Boolean

    Permalink
    Definition Classes
    JBoolean → JValueLike
  26. final def isDefined: Boolean

    Permalink
    Definition Classes
    JValueLike
  27. def isDefinedAt(x: JValue): Boolean

    Permalink
    Definition Classes
    JValueLike
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isNaN: Boolean

    Permalink
    Definition Classes
    JValueLike
  30. final def isNull: Boolean

    Permalink
    Definition Classes
    JValueLike
  31. final def isNullOrUndefined: Boolean

    Permalink
    Definition Classes
    JValueLike
  32. def isObject: Boolean

    Permalink
    Definition Classes
    JValueLike
  33. def isTrue: Boolean

    Permalink
  34. final def isUndefined: Boolean

    Permalink
    Definition Classes
    JValueLike
  35. def jArray: JArray

    Permalink

    quickly cast to and array or throw a GenericJSONException otherwise.

    quickly cast to and array or throw a GenericJSONException otherwise.

    Definition Classes
    JValueLike
  36. def jBoolean: JBoolean

    Permalink

    quickly cast to a boolean or throw a GenericJSONException otherwise.

    quickly cast to a boolean or throw a GenericJSONException otherwise.

    Definition Classes
    JBoolean → JValueLike
  37. def jNumber: JNumber

    Permalink

    quickly cast to a number or throw a GenericJSONException otherwise.

    quickly cast to a number or throw a GenericJSONException otherwise.

    Definition Classes
    JValueLike
  38. def jObject: JObject

    Permalink

    quickly cast to and object or throw a GenericJSONException otherwise.

    quickly cast to and object or throw a GenericJSONException otherwise.

    Definition Classes
    JValueLike
  39. def jString: JString

    Permalink

    quickly cast to a string or throw a GenericJSONException otherwise.

    quickly cast to a string or throw a GenericJSONException otherwise.

    Definition Classes
    JValueLike
  40. def jValue: JBoolean

    Permalink
    Definition Classes
    JBoolean → JValueLike
  41. def keys: Iterable[JValue]

    Permalink

    keys for this JValue.

    keys for this JValue. Either iterable array indexes from JArray or iterable keys from a JObject

    Definition Classes
    JValueLike
  42. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. def num: Double

    Permalink

    gets the number value using jNumber

    gets the number value using jNumber

    Definition Classes
    JValueLike
  46. def select(seqStr: String): JValue

    Permalink

    select from a value with a '.' delimited string

    select from a value with a '.' delimited string

    Definition Classes
    JValueLike
  47. def select(seq: Seq[String], safe: Boolean): JValue

    Permalink

    select from a value with a sequence of keys

    select from a value with a sequence of keys

    Definition Classes
    JValueLike
  48. def select(seqStr: String, safe: Boolean): JValue

    Permalink

    select from a value with a '.' delimited string

    select from a value with a '.' delimited string

    seqStr

    period delimited string

    safe

    if true, you will get back JUndefined instead of an exception for undefined access

    Definition Classes
    JValueLike
  49. def str: String

    Permalink

    gets the string value using jString

    gets the string value using jString

    Definition Classes
    JValueLike
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def to[T](implicit arg0: JSONAccessor[T]): T

    Permalink

    converts this JValue into the desired type using the implicit JSONAccessor

    converts this JValue into the desired type using the implicit JSONAccessor

    Definition Classes
    JValueLike
  52. def toDenseString: String

    Permalink

    toString method that uses the dense builder settings

    toString method that uses the dense builder settings

    Definition Classes
    JValueLike
  53. def toJArray: JArray

    Permalink

    convert this JValue into an array if possible

    convert this JValue into an array if possible

    Definition Classes
    JValueLike
  54. def toJBoolean: JBoolean

    Permalink

    JS-like boolean representation of this value.

    JS-like boolean representation of this value.

    Definition Classes
    JBoolean → JValueLike
  55. def toJObject: JObject

    Permalink

    convert this JValue into an object if possible

    convert this JValue into an object if possible

    Definition Classes
    JValueLike
  56. def toJSON(): Any

    Permalink
    Definition Classes
    JValueBase
    Annotations
    @JSExport()
  57. def toJSONString: String

    Permalink
    Definition Classes
    JValueLike
  58. def toJSONStringBuilder(settings: JSONBuilderSettings = JSONBuilderSettings.pretty, lvl: Int = 0): SimpleStringBuilder

    Permalink
    Definition Classes
    JValueLike
  59. def toJValue: JValue

    Permalink
    Definition Classes
    JValueLike
  60. def toNativeJS: Any

    Permalink
    Definition Classes
    JBooleanBase
  61. def toObject[T](implicit acc: JSONAccessor[T]): T

    Permalink

    alternate and recommended form of to

    alternate and recommended form of to

    Definition Classes
    JValueLike
  62. final def toOption: Option[JValue]

    Permalink

    return Some(x) if value is not undefined or null

    return Some(x) if value is not undefined or null

    Definition Classes
    JValueLike
  63. def toPrettyString: String

    Permalink

    toString method that uses the pretty builder settings

    toString method that uses the pretty builder settings

    Definition Classes
    JValueLike
  64. def toString(): String

    Permalink
    Definition Classes
    JValue → AnyRef → Any
  65. def toString(settings: JSONBuilderSettings, lvl: Int = 0): String

    Permalink

    toString method that uses a specific json.JSONBuilderSettings and specific indent level to generate JSON

    toString method that uses a specific json.JSONBuilderSettings and specific indent level to generate JSON

    Definition Classes
    JValueLike
  66. def unary_!(): JBoolean

    Permalink

    Boolean not according to JS boolean logic

    Boolean not according to JS boolean logic

    Definition Classes
    JValueLike
  67. def values: Iterable[JValue]

    Permalink

    gets the iterable JValues using jArray or the object values if JObject

    gets the iterable JValues using jArray or the object values if JObject

    Definition Classes
    JValueLike
  68. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. def ||[T >: JBoolean.this.type <: JValue](other: T): T

    Permalink

    Boolean OR using toJBoolean

    Boolean OR using toJBoolean

    Definition Classes
    JValue
  72. def ~~(to: JValue): Boolean

    Permalink

    This operator implements the JavaScript-like equality logic according to the JS Spec

    This operator implements the JavaScript-like equality logic according to the JS Spec

    Definition Classes
    JValueLike

Inherited from JBooleanBase

Inherited from JValue

Inherited from JValueBase

Inherited from JValueLike

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped