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
Ordering
- Alphabetic
- By Inheritance
Inherited
- JSONObject
- JSONObject
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JSONObject(x: JSONTokener)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
accumulate(arg0: String, arg1: Any): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
append(arg0: String, arg1: Any): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
- Definition Classes
- JSONObject
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
-
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
-
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
-
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
-
def
entrySet(): Set[Entry[String, AnyRef]]
- Attributes
- protected[org.json]
- Definition Classes
- JSONObject
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
get(arg0: String): AnyRef
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getBigDecimal(arg0: String): BigDecimal
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getBigInteger(arg0: String): BigInteger
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getBoolean(arg0: String): Boolean
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDouble(arg0: String): Double
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getEnum[E <: Enum[E]](arg0: Class[E], arg1: String): E
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getFloat(arg0: String): Float
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getInt(arg0: String): Int
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getJSONArray(arg0: String): org.json.JSONArray
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getJSONObject(arg0: String): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getLong(arg0: String): Long
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getNumber(arg0: String): Number
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
getString(arg0: String): String
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
has(arg0: String): Boolean
- Definition Classes
- JSONObject
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
increment(arg0: String): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
isEmpty(): Boolean
- Definition Classes
- JSONObject
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNull(arg0: String): Boolean
- Definition Classes
- JSONObject
-
def
keySet(): Set[String]
- Definition Classes
- JSONObject
-
def
keys(): Iterator[String]
- Definition Classes
- JSONObject
-
def
length(): Int
- Definition Classes
- JSONObject
-
def
names(): org.json.JSONArray
- Definition Classes
- JSONObject
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
opt(arg0: String): AnyRef
- Definition Classes
- JSONObject
-
def
optBigDecimal(arg0: String, arg1: BigDecimal): BigDecimal
- Definition Classes
- JSONObject
-
def
optBigInteger(arg0: String, arg1: BigInteger): BigInteger
- Definition Classes
- JSONObject
-
def
optBoolean(arg0: String, arg1: Boolean): Boolean
- Definition Classes
- JSONObject
-
def
optBoolean(arg0: String): Boolean
- Definition Classes
- JSONObject
-
def
optDouble(arg0: String, arg1: Double): Double
- Definition Classes
- JSONObject
-
def
optDouble(arg0: String): Double
- Definition Classes
- JSONObject
-
def
optEnum[E <: Enum[E]](arg0: Class[E], arg1: String, arg2: E): E
- Definition Classes
- JSONObject
-
def
optEnum[E <: Enum[E]](arg0: Class[E], arg1: String): E
- Definition Classes
- JSONObject
-
def
optFloat(arg0: String, arg1: Float): Float
- Definition Classes
- JSONObject
-
def
optFloat(arg0: String): Float
- Definition Classes
- JSONObject
-
def
optInt(arg0: String, arg1: Int): Int
- Definition Classes
- JSONObject
-
def
optInt(arg0: String): Int
- Definition Classes
- JSONObject
-
def
optJSONArray(arg0: String): org.json.JSONArray
- Definition Classes
- JSONObject
-
def
optJSONObject(arg0: String, arg1: org.json.JSONObject): org.json.JSONObject
- Definition Classes
- JSONObject
-
def
optJSONObject(arg0: String): org.json.JSONObject
- Definition Classes
- JSONObject
-
def
optLong(arg0: String, arg1: Long): Long
- Definition Classes
- JSONObject
-
def
optLong(arg0: String): Long
- Definition Classes
- JSONObject
-
def
optNumber(arg0: String, arg1: Number): Number
- Definition Classes
- JSONObject
-
def
optNumber(arg0: String): Number
- Definition Classes
- JSONObject
-
def
optQuery(arg0: JSONPointer): AnyRef
- Definition Classes
- JSONObject
-
def
optQuery(arg0: String): AnyRef
- Definition Classes
- JSONObject
-
def
optString(arg0: String, arg1: String): String
- Definition Classes
- JSONObject
-
def
optString(arg0: String): String
- Definition Classes
- JSONObject
-
def
put(arg0: String, arg1: Any): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Map[_, _]): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Long): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Int): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Float): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Double): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Collection[_]): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
put(arg0: String, arg1: Boolean): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
putOnce(arg0: String, arg1: Any): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
putOpt(arg0: String, arg1: Any): org.json.JSONObject
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
query(arg0: JSONPointer): AnyRef
- Definition Classes
- JSONObject
-
def
query(arg0: String): AnyRef
- Definition Classes
- JSONObject
-
def
remove(arg0: String): AnyRef
- Definition Classes
- JSONObject
-
def
similar(arg0: Any): Boolean
- Definition Classes
- JSONObject
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJSONArray(arg0: org.json.JSONArray): org.json.JSONArray
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
toMap(): Map[String, AnyRef]
- Definition Classes
- JSONObject
-
def
toString(arg0: Int): String
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
toString(): String
- Definition Classes
- JSONObject → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
write(arg0: Writer, arg1: Int, arg2: Int): Writer
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
def
write(arg0: Writer): Writer
- Definition Classes
- JSONObject
- Annotations
- @throws( classOf[org.json.JSONException] )
-
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
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated