Class Node.JsonMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
- Enclosing interface:
- Node
public static class Node.JsonMap extends LinkedHashMap<String,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>Nested classes/interfaces inherited from interface net.javacrumbs.jsonunit.core.internal.Node
Node.JsonList, Node.JsonMap, Node.KeyValue, Node.NodeType, Node.ValueExtractor -
Field Summary
-
Method Summary
Modifier and Type Method Description default void___do_not_implement_this_interface_seriously()default Iterator<Node>arrayElements()default BooleanasBoolean()default StringasText()default BigDecimaldecimalValue()default Nodeelement(int index)default Iterator<Node.KeyValue>fields()default Nodeget(String key)default Node.NodeTypegetNodeType()default ObjectgetValue()NodegetWrappedNode()default booleanisMissingNode()default booleanisNull()default intsize()Array lengthStringtoString()Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Method Details
-
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-
getWrappedNode
-
element
-
fields
-
get
-
isMissingNode
public default boolean isMissingNode()- Specified by:
isMissingNodein interfaceNode
-
isNull
public default boolean isNull() -
arrayElements
- Specified by:
arrayElementsin interfaceNode
-
size
public default int size()Description copied from interface:NodeArray length -
asText
-
getNodeType
- Specified by:
getNodeTypein interfaceNode
-
decimalValue
- Specified by:
decimalValuein interfaceNode
-
asBoolean
-
getValue
-
___do_not_implement_this_interface_seriously
public default void ___do_not_implement_this_interface_seriously()- Specified by:
___do_not_implement_this_interface_seriouslyin interfaceNode
-