Uses of Interface
org.ghotibeaun.json.JSONArray
Package | Description |
---|---|
org.ghotibeaun.json | |
org.ghotibeaun.json.converters | |
org.ghotibeaun.json.factory | |
org.ghotibeaun.json.jsonpath | |
org.ghotibeaun.json.merge.strategies | |
org.ghotibeaun.json.parser |
-
Uses of JSONArray in org.ghotibeaun.json
Methods in org.ghotibeaun.json that return JSONArray Modifier and Type Method Description default JSONArray
JSONNode. asJSONArray()
Return the JSONNode as a JSONArrayJSONArray
JSONArray. getJSONArray(int index)
Return a JSONArray valueJSONArray
JSONObject. getJSONArray(String key)
Return a JSONArraydefault JSONArray
JSONArray. mergeToCopy(JSONArray secondary, ArrayConflict arrayConflict, ObjectConflict objectConflict)
Merge the current JSONArray instance with another and return the merged instance.default JSONArray
JSONNode. select(String jsonPath)
Select a value from the JSONNode using a JSON-Path expression.default JSONArray
JSONNode. select(String jsonPath, com.jayway.jsonpath.Criteria criteria, com.jayway.jsonpath.Option... options)
Select a value from the JSONNode using a JSON-Path expression.default JSONArray
JSONNode. select(String jsonPath, com.jayway.jsonpath.Option... options)
Select a value from the JSONNode using a JSON-Path expression.Methods in org.ghotibeaun.json with parameters of type JSONArray Modifier and Type Method Description void
JSONArray. add(JSONArray array)
Add a JSONArray valuedefault void
JSONArray. merge(JSONArray secondary, ArrayConflict arrayConflict, ObjectConflict objectConflict)
Merge another JSONArray into this instance.default JSONArray
JSONArray. mergeToCopy(JSONArray secondary, ArrayConflict arrayConflict, ObjectConflict objectConflict)
Merge the current JSONArray instance with another and return the merged instance.void
JSONObject. put(String key, JSONArray a)
Adds or replaces a JSONArray value -
Uses of JSONArray in org.ghotibeaun.json.converters
Methods in org.ghotibeaun.json.converters that return JSONArray Modifier and Type Method Description abstract JSONArray
AbstractClassConverter. convertToJSONArray(List<?> source)
abstract JSONArray
AbstractClassConverter. convertToJSONArray(List<?> source, Class<?> targetClass)
abstract JSONArray
AbstractClassConverter. convertToJSONArray(List<?> source, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
abstract JSONArray
AbstractClassConverter. convertToJSONArray(List<?> source, ValueConverter<?> valueConverter)
JSONArray
ClassConverter. convertToJSONArray(List<?> source)
Convert a list to a JSONArrayJSONArray
ClassConverter. convertToJSONArray(List<?> source, Class<?> targetClass)
Convert a List to a JSONArrayJSONArray
ClassConverter. convertToJSONArray(List<?> source, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
Convert a List to a JSONArrayJSONArray
ClassConverter. convertToJSONArray(List<?> source, ValueConverter<?> valueConverter)
Convert a List to a JSONArraystatic JSONArray
Converters. convertToJSONArray(List<?> source, Class<?> targetClass, ConverterOption<?>... options)
static JSONArray
Converters. convertToJSONArray(List<?> source, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass, ConverterOption<?>... options)
static JSONArray
Converters. convertToJSONArray(List<?> source, ConverterOption<?>... options)
static JSONArray
Converters. convertToJSONArray(List<?> source, ValueConverter<?> valueConverter, ConverterOption<?>... options)
Methods in org.ghotibeaun.json.converters with parameters of type JSONArray Modifier and Type Method Description abstract <T> List<T>
AbstractJSONConverter. convertToList(Class<T> targetItemClass, JSONArray array, Optional<ValueConverter<?>> valueConverter)
Deprecated.abstract <T> List<T>
AbstractJSONConverter. convertToList(JSONArray array, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
static <T> List<T>
Converters. convertToList(Class<T> targetClass, JSONArray jsonArray, Optional<ValueConverter<?>> valueConverter, ConverterOption<?>... options)
Deprecated.static <T> List<T>
Converters. convertToList(JSONArray array, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass, ConverterOption<?>... options)
<T> List<T>
JSONConverter. convertToList(Class<T> targetItemClass, JSONArray array, Optional<ValueConverter<?>> valueConverter)
Deprecated.<T> List<T>
JSONConverter. convertToList(JSONArray array, Optional<ValueConverter<?>> valueConverter, Optional<Class<?>> targetClass)
-
Uses of JSONArray in org.ghotibeaun.json.factory
Methods in org.ghotibeaun.json.factory that return JSONArray Modifier and Type Method Description static JSONArray
NodeFactory. newJSONArray()
static JSONArray
NodeFactory. newJSONArray(List<Object> list)
Methods in org.ghotibeaun.json.factory that return types with arguments of type JSONArray Modifier and Type Method Description static JSONValue<JSONArray>
NodeFactory. newJSONArrayValue(JSONArray value)
Methods in org.ghotibeaun.json.factory with parameters of type JSONArray Modifier and Type Method Description static JSONValue<JSONArray>
NodeFactory. newJSONArrayValue(JSONArray value)
-
Uses of JSONArray in org.ghotibeaun.json.jsonpath
Methods in org.ghotibeaun.json.jsonpath that return JSONArray Modifier and Type Method Description JSONArray
JSONPath. evaluate(InputStream jsonInputStream)
Parses a JSON InputStream and returns a list of JSON valuesJSONArray
JSONPath. evaluate(String jsonString)
Parses a JSON string and returns a list of JSON valuesJSONArray
JSONPath. select(JSONNode context)
Return a list of JSON values from a JSONNode context. -
Uses of JSONArray in org.ghotibeaun.json.merge.strategies
Methods in org.ghotibeaun.json.merge.strategies with parameters of type JSONArray Modifier and Type Method Description void
AppendArrayConflictStrategy. apply(JSONArray context, Integer propertyValue, JSONValue<?> primaryValue, JSONValue<?> secondaryValue)
void
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 JSONArray in org.ghotibeaun.json.parser
Methods in org.ghotibeaun.json.parser that return JSONArray Modifier and Type Method Description JSONArray
JSONParser. newJSONArray()
Create an empty JSONArray