Package eu.europa.esig.dss.jades
Class JsonObject
java.lang.Object
eu.europa.esig.dss.jades.JsonObject
Represents a wrapper of a Map with JsonObject methods
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCreates an empty HashMapJsonObject
(Map<String, Object> m) Wraps a provided Map to the object -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
JsonObject
public JsonObject()Creates an empty HashMap -
JsonObject
Wraps a provided Map to the object- Parameters:
m
-Map
to wrap
-
-
Method Details
-
toJSONString
Converts the object to its JSON String representation- Returns:
String
JSON
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-