Package com.nimbusds.oauth2.sdk.util
Class OrderedJSONObject
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- net.minidev.json.JSONObject
-
- com.nimbusds.oauth2.sdk.util.OrderedJSONObject
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
,net.minidev.json.JSONAware
,net.minidev.json.JSONAwareEx
,net.minidev.json.JSONStreamAware
,net.minidev.json.JSONStreamAwareEx
@NotThreadSafe public class OrderedJSONObject extends net.minidev.json.JSONObject
Ordered JSON object.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description OrderedJSONObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Set<Map.Entry<String,Object>>
entrySet()
Set<String>
keySet()
Object
put(String s, Object o)
void
putAll(Map<? extends String,?> map)
Object
remove(Object o)
String
toJSONString()
-
Methods inherited from class net.minidev.json.JSONObject
appendField, escape, getAsNumber, getAsString, merge, merge, merge, toJSONString, toJSONString, toJSONString, toString, toString, writeJSON, writeJSON, writeJSONKV, writeJSONString, writeJSONString
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, getOrDefault, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
-
-
-
Constructor Detail
-
OrderedJSONObject
public OrderedJSONObject()
-
-
Method Detail
-
clear
public void clear()
-
toJSONString
public String toJSONString()
- Specified by:
toJSONString
in interfacenet.minidev.json.JSONAware
- Overrides:
toJSONString
in classnet.minidev.json.JSONObject
-
-