Package com.simplicite.util.tools
Class JSONOrderedObject
- java.lang.Object
-
- org.json.JSONObject
-
- com.simplicite.util.tools.JSONOrderedObject
-
public class JSONOrderedObject extends org.json.JSONObject
JSONOrderedObject is a JSONObject with ordered keys (in insert order)
-
-
Constructor Summary
Constructors Constructor Description JSONOrderedObject()
JSONOrderedObject(java.lang.Object object, java.lang.String... names)
JSONOrderedObject(java.lang.String source)
JSONOrderedObject(java.util.Map<?,?> m)
JSONOrderedObject(org.json.JSONObject jo, java.lang.String... names)
JSONOrderedObject(org.json.JSONTokener x)
-
Method Summary
-
Methods inherited from class org.json.JSONObject
accumulate, append, clear, doubleToString, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getMapType, getNames, getNames, getNumber, getString, has, increment, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optBooleanObject, optBooleanObject, optDouble, optDouble, optDoubleObject, optDoubleObject, optEnum, optEnum, optFloat, optFloat, optFloatObject, optFloatObject, optInt, optInt, optIntegerObject, optIntegerObject, optJSONArray, optJSONArray, optJSONObject, optJSONObject, optLong, optLong, optLongObject, optLongObject, optNumber, optNumber, optQuery, optQuery, optString, optString, put, put, put, put, put, put, put, put, putOnce, putOpt, query, query, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toMap, toString, toString, valueToString, wrap, write, write
-
-
-
-
Constructor Detail
-
JSONOrderedObject
public JSONOrderedObject()
-
JSONOrderedObject
public JSONOrderedObject(org.json.JSONObject jo, java.lang.String... names)
-
JSONOrderedObject
public JSONOrderedObject(java.util.Map<?,?> m)
-
JSONOrderedObject
public JSONOrderedObject(java.lang.Object object, java.lang.String... names)
-
JSONOrderedObject
public JSONOrderedObject(java.lang.String source) throws org.json.JSONException
- Throws:
org.json.JSONException
-
JSONOrderedObject
public JSONOrderedObject(org.json.JSONTokener x) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-