Uses of Interface
org.ghotibeaun.json.JSONValue
-
Uses of JSONValue in org.ghotibeaun.json
Methods in org.ghotibeaun.json that return JSONValue Modifier and Type Method Description JSONValue<?>
JSONListNode. get(int index)
Return a JSONValue at a specified positionJSONValue<?>
JSONMapNode. get(String key)
Returns a value based on a specific keydefault JSONValue<?>
JSONListNode. getFirst()
Return the first item in the listdefault JSONValue<?>
JSONListNode. getLast()
JSONValue<?>
JSONListNode. remove(int index)
Remove a value at a specified positionJSONValue<?>
JSONMapNode. remove(String key)
Removes an entry from the mapMethods in org.ghotibeaun.json that return types with arguments of type JSONValue Modifier and Type Method Description Set<Map.Entry<String,JSONValue<?>>>
JSONMapNode. elements()
Returns the set of the map's String, JSONValue pairsList<JSONValue<?>>
JSONListNode. getValues()
Return a list of JSONValuesIterator<JSONValue<?>>
JSONListNode. iterator()
Returns the iterator for this list.Collection<JSONValue<?>>
JSONMapNode. values()
Returns an interable collection of all the map's valuesMethods in org.ghotibeaun.json with parameters of type JSONValue Modifier and Type Method Description void
JSONListNode. add(JSONValue<?> value)
Add a JSONValuevoid
JSONListNode. insert(int index, JSONValue<?> value)
Insert a JSONValue at a specified positionboolean
JSONValue. isEquivalent(JSONValue<?> otherValue)
void
JSONMapNode. put(String key, JSONValue<?> value)
Add a key value pair to the map. -
Uses of JSONValue in org.ghotibeaun.json.converters
Methods in org.ghotibeaun.json.converters that return JSONValue Modifier and Type Method Description static JSONValue<?>
Converters. convertToJSONValue(Object value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass, ConverterOption<?>... options)
abstract JSONValue<?>
AbstractClassConverter. convertValue(Object value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
JSONValue<?>
ClassConverter. convertValue(Object value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
Return a JSONValueMethods in org.ghotibeaun.json.converters with parameters of type JSONValue Modifier and Type Method Description abstract <T> T
AbstractJSONConverter. convertValue(JSONValue<?> value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
static <T> T
Converters. convertValue(JSONValue<?> value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass, ConverterOption<?>... options)
<T> T
JSONConverter. convertValue(JSONValue<?> value, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
-
Uses of JSONValue in org.ghotibeaun.json.converters.handlers
Methods in org.ghotibeaun.json.converters.handlers that return JSONValue Modifier and Type Method Description JSONValue<?>
MemberHandler. getJSONValue(Object instance)
Methods in org.ghotibeaun.json.converters.handlers with parameters of type JSONValue Modifier and Type Method Description Optional<Object>
MemberHandler. handleJSONValue(JSONValue<?> value)
void
FieldMemberHandler. setMemberValue(Object instance, JSONValue<?> value)
abstract void
MemberHandler. setMemberValue(Object instance, JSONValue<?> value)
void
MethodMemberHandler. setMemberValue(Object instance, JSONValue<?> value)
-
Uses of JSONValue in org.ghotibeaun.json.factory
Methods in org.ghotibeaun.json.factory that return JSONValue Modifier and Type Method Description static JSONValue<Boolean>
NodeFactory. newBooleanValue(boolean value)
static JSONValue<JSONArray>
NodeFactory. newJSONArrayValue(JSONArray value)
static JSONValue<NullObject>
NodeFactory. newJSONNullValue()
static JSONValue<JSONObject>
NodeFactory. newJSONObjectValue(JSONObject value)
static JSONValue<Number>
NodeFactory. newNumberValue(Number value)
static JSONValue<String>
NodeFactory. newStringValue(String value)
-
Uses of JSONValue in org.ghotibeaun.json.merge.strategies
Methods in org.ghotibeaun.json.merge.strategies with parameters of type JSONValue Modifier and Type Method Description void
AcceptPrimaryConflictStrategy. apply(JSONObject context, String propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
AcceptSecondaryConflictStrategy. apply(JSONObject context, String propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
AppendArrayConflictStrategy. apply(JSONArray context, Integer propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
AppendObjectConflictStrategy. apply(JSONObject context, String propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
ConflictStrategy. apply(T context, G propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
Apply a conflict strategy to a given JSONNode contextvoid
DeduplicateArrayConflictStrategy. apply(JSONArray context, Integer propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
InsertAfterConflictStrategy. apply(JSONArray context, Integer propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
InsertBeforeConflictStrategy. apply(JSONArray context, Integer propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
-
Uses of JSONValue in org.ghotibeaun.json.parser.csv
Methods in org.ghotibeaun.json.parser.csv that return JSONValue Modifier and Type Method Description JSONValue<?>
Field. getValue()