public class JsonObject extends LinkedHashMap<Object,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
ITEMS |
static String |
KEYS |
static String |
REF |
static String |
SHORT_ID |
static String |
SHORT_ITEMS |
static String |
SHORT_KEYS |
static String |
SHORT_REF |
static String |
SHORT_TYPE |
static String |
TYPE |
static String |
VALUE |
| Constructor and Description |
|---|
JsonObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
equals(Object other) |
Object[] |
getArray() |
Class<?> |
getComponentType() |
int |
getLength() |
Object |
getPrimitiveValue() |
Long |
getReferenceId() |
Class<?> |
getTargetClass() |
Object |
getValue() |
int |
hashCode() |
boolean |
hasId()
A JsonObject starts off with an id of -1.
|
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isFinished() |
boolean |
isLogicalPrimitive() |
boolean |
isMap() |
boolean |
isReference() |
Object |
put(Object key,
Object value) |
Object |
setFinishedTarget(Object o,
boolean isFinished) |
Object |
setValue(Object o) |
int |
size() |
String |
toString() |
containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replacefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replacepublic static final String KEYS
public static final String ITEMS
public static final String ID
public static final String REF
public static final String TYPE
public static final String SHORT_TYPE
public static final String SHORT_ITEMS
public static final String SHORT_KEYS
public static final String SHORT_ID
public static final String SHORT_REF
public static final String VALUE
public String toString()
toString in class AbstractMap<Object,Object>public boolean hasId()
public boolean isFinished()
public Class<?> getTargetClass()
public boolean isLogicalPrimitive()
public Object getPrimitiveValue()
public boolean isReference()
public Long getReferenceId()
public boolean isMap()
public boolean isCollection()
public boolean isArray()
public Object[] getArray()
public int getLength()
public Class<?> getComponentType()
public Object getValue()
public void clear()
public int size()
public int hashCode()
Copyright © 2023. All rights reserved.