Object

json

JTrue

Related Doc: package json

Permalink

object JTrue extends JBoolean with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, JBoolean, JBooleanBase, JValue, JValueBase, JValueLike, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JTrue
  2. Serializable
  3. Serializable
  4. Product
  5. JBoolean
  6. JBooleanBase
  7. JValue
  8. JValueBase
  9. JValueLike
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 isBoolean: Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  28. def isNaN: Boolean

    Permalink
    Definition Classes
    JValueLike
  29. final def isNull: Boolean

    Permalink
    Definition Classes
    JValueLike
  30. final def isNullOrUndefined: Boolean

    Permalink
    Definition Classes
    JValueLike
  31. def isObject: Boolean

    Permalink
    Definition Classes
    JValueLike
  32. def isTrue: Boolean

    Permalink
    Definition Classes
    JBoolean
  33. final def isUndefined: Boolean

    Permalink
    Definition Classes
    JValueLike
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. def jValue: JBoolean

    Permalink
    Definition Classes
    JBoolean → JValueLike
  40. 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
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def not: JFalse.type

    Permalink
    Definition Classes
    JTrueJBoolean
  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 toJNumber: JNumber

    Permalink

    JS-like numeric representation of this value.

    JS-like numeric representation of this value.

    Definition Classes
    JTrueJBoolean → JValueLike
  56. def toJObject: JObject

    Permalink

    convert this JValue into an object if possible

    convert this JValue into an object if possible

    Definition Classes
    JValueLike
  57. def toJSON(): Any

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

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

    Permalink
    Definition Classes
    JValueLike
  60. val toJString: JString

    Permalink

    JS-like string representation of this value.

    JS-like string representation of this value.

    Definition Classes
    JTrueJBoolean → JValueLike
  61. def toJValue: JValue

    Permalink
    Definition Classes
    JValueLike
  62. def toNativeJS: Any

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

    Permalink

    alternate and recommended form of to

    alternate and recommended form of to

    Definition Classes
    JValueLike
  64. 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
  65. def toPrettyString: String

    Permalink

    toString method that uses the pretty builder settings

    toString method that uses the pretty builder settings

    Definition Classes
    JValueLike
  66. def toString(): String

    Permalink
    Definition Classes
    JValue → AnyRef → Any
  67. 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
  68. def unary_!(): JBoolean

    Permalink

    Boolean not according to JS boolean logic

    Boolean not according to JS boolean logic

    Definition Classes
    JValueLike
  69. def value: Boolean

    Permalink

    underlying scala value for this JValue

    underlying scala value for this JValue

    Definition Classes
    JTrueJBoolean → JBooleanBase → JValueLike
  70. 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
  71. final def wait(): Unit

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

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

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

    Permalink

    Boolean OR using toJBoolean

    Boolean OR using toJBoolean

    Definition Classes
    JValue
  75. 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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from JBoolean

Inherited from JBooleanBase

Inherited from JValue

Inherited from JValueBase

Inherited from JValueLike

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped