Class JsonObject
A lightweight
Map adapter over a DataPipeline Record.
This avoids the memory overhead of deep-copying every Record into a
LinkedHashMap before the JSONata engine can evaluate it. Field values
are lazily unwrapped on access: nested Records become JsonObjects,
ArrayValues become JsonArrays, and SingleValues are
returned as their raw Java values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
get
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object> - Overrides:
containsKeyin classAbstractMap<String,Object>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
entrySet
-
put
-
remove
-