Packages

class JSONObject extends org.json.JSONObject

Custom JSON Object which overrides org.json implementation to add a validation for trailing commas and stringToValue static method implementation.

Linear Supertypes
org.json.JSONObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONObject
  2. JSONObject
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSONObject(x: JSONTokener)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JSONObject to any2stringadd[JSONObject] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JSONObject, B)
    Implicit
    This member is added by an implicit conversion from JSONObject to ArrowAssoc[JSONObject] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def accumulate(arg0: String, arg1: Any): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  7. def append(arg0: String, arg1: Any): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clear(): Unit
    Definition Classes
    JSONObject
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def ensuring(cond: (JSONObject) ⇒ Boolean, msg: ⇒ Any): JSONObject
    Implicit
    This member is added by an implicit conversion from JSONObject to Ensuring[JSONObject] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (JSONObject) ⇒ Boolean): JSONObject
    Implicit
    This member is added by an implicit conversion from JSONObject to Ensuring[JSONObject] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): JSONObject
    Implicit
    This member is added by an implicit conversion from JSONObject to Ensuring[JSONObject] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): JSONObject
    Implicit
    This member is added by an implicit conversion from JSONObject to Ensuring[JSONObject] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def entrySet(): Set[Entry[String, AnyRef]]
    Attributes
    protected[org.json]
    Definition Classes
    JSONObject
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JSONObject to StringFormat[JSONObject] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def get(arg0: String): AnyRef
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  20. def getBigDecimal(arg0: String): BigDecimal
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  21. def getBigInteger(arg0: String): BigInteger
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  22. def getBoolean(arg0: String): Boolean
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getDouble(arg0: String): Double
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  25. def getEnum[E <: Enum[E]](arg0: Class[E], arg1: String): E
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  26. def getFloat(arg0: String): Float
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  27. def getInt(arg0: String): Int
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  28. def getJSONArray(arg0: String): org.json.JSONArray
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  29. def getJSONObject(arg0: String): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  30. def getLong(arg0: String): Long
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  31. def getNumber(arg0: String): Number
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  32. def getString(arg0: String): String
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  33. def has(arg0: String): Boolean
    Definition Classes
    JSONObject
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def increment(arg0: String): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  36. def isEmpty(): Boolean
    Definition Classes
    JSONObject
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isNull(arg0: String): Boolean
    Definition Classes
    JSONObject
  39. def keySet(): Set[String]
    Definition Classes
    JSONObject
  40. def keys(): Iterator[String]
    Definition Classes
    JSONObject
  41. def length(): Int
    Definition Classes
    JSONObject
  42. def names(): org.json.JSONArray
    Definition Classes
    JSONObject
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def opt(arg0: String): AnyRef
    Definition Classes
    JSONObject
  47. def optBigDecimal(arg0: String, arg1: BigDecimal): BigDecimal
    Definition Classes
    JSONObject
  48. def optBigInteger(arg0: String, arg1: BigInteger): BigInteger
    Definition Classes
    JSONObject
  49. def optBoolean(arg0: String, arg1: Boolean): Boolean
    Definition Classes
    JSONObject
  50. def optBoolean(arg0: String): Boolean
    Definition Classes
    JSONObject
  51. def optDouble(arg0: String, arg1: Double): Double
    Definition Classes
    JSONObject
  52. def optDouble(arg0: String): Double
    Definition Classes
    JSONObject
  53. def optEnum[E <: Enum[E]](arg0: Class[E], arg1: String, arg2: E): E
    Definition Classes
    JSONObject
  54. def optEnum[E <: Enum[E]](arg0: Class[E], arg1: String): E
    Definition Classes
    JSONObject
  55. def optFloat(arg0: String, arg1: Float): Float
    Definition Classes
    JSONObject
  56. def optFloat(arg0: String): Float
    Definition Classes
    JSONObject
  57. def optInt(arg0: String, arg1: Int): Int
    Definition Classes
    JSONObject
  58. def optInt(arg0: String): Int
    Definition Classes
    JSONObject
  59. def optJSONArray(arg0: String): org.json.JSONArray
    Definition Classes
    JSONObject
  60. def optJSONObject(arg0: String, arg1: org.json.JSONObject): org.json.JSONObject
    Definition Classes
    JSONObject
  61. def optJSONObject(arg0: String): org.json.JSONObject
    Definition Classes
    JSONObject
  62. def optLong(arg0: String, arg1: Long): Long
    Definition Classes
    JSONObject
  63. def optLong(arg0: String): Long
    Definition Classes
    JSONObject
  64. def optNumber(arg0: String, arg1: Number): Number
    Definition Classes
    JSONObject
  65. def optNumber(arg0: String): Number
    Definition Classes
    JSONObject
  66. def optQuery(arg0: JSONPointer): AnyRef
    Definition Classes
    JSONObject
  67. def optQuery(arg0: String): AnyRef
    Definition Classes
    JSONObject
  68. def optString(arg0: String, arg1: String): String
    Definition Classes
    JSONObject
  69. def optString(arg0: String): String
    Definition Classes
    JSONObject
  70. def put(arg0: String, arg1: Any): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  71. def put(arg0: String, arg1: Map[_, _]): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  72. def put(arg0: String, arg1: Long): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  73. def put(arg0: String, arg1: Int): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  74. def put(arg0: String, arg1: Float): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  75. def put(arg0: String, arg1: Double): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  76. def put(arg0: String, arg1: Collection[_]): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  77. def put(arg0: String, arg1: Boolean): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  78. def putOnce(arg0: String, arg1: Any): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  79. def putOpt(arg0: String, arg1: Any): org.json.JSONObject
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  80. def query(arg0: JSONPointer): AnyRef
    Definition Classes
    JSONObject
  81. def query(arg0: String): AnyRef
    Definition Classes
    JSONObject
  82. def remove(arg0: String): AnyRef
    Definition Classes
    JSONObject
  83. def similar(arg0: Any): Boolean
    Definition Classes
    JSONObject
  84. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  85. def toJSONArray(arg0: org.json.JSONArray): org.json.JSONArray
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  86. def toMap(): Map[String, AnyRef]
    Definition Classes
    JSONObject
  87. def toString(arg0: Int): String
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  88. def toString(): String
    Definition Classes
    JSONObject → AnyRef → Any
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  91. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. def write(arg0: Writer, arg1: Int, arg2: Int): Writer
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  93. def write(arg0: Writer): Writer
    Definition Classes
    JSONObject
    Annotations
    @throws( classOf[org.json.JSONException] )
  94. def [B](y: B): (JSONObject, B)
    Implicit
    This member is added by an implicit conversion from JSONObject to ArrowAssoc[JSONObject] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from org.json.JSONObject

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JSONObject to any2stringadd[JSONObject]

Inherited by implicit conversion StringFormat from JSONObject to StringFormat[JSONObject]

Inherited by implicit conversion Ensuring from JSONObject to Ensuring[JSONObject]

Inherited by implicit conversion ArrowAssoc from JSONObject to ArrowAssoc[JSONObject]

Ungrouped