| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends JsonArray> |
SpincastCorePluginModule.getJsonArrayImplClass() |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonArrayDefault
JsonArray implementation. |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonArrayDefault.add(int index,
Object value) |
JsonArray |
JsonArray.add(int index,
Object value)
Inserts an object at the specified index in the array.
|
JsonArray |
JsonArrayDefault.add(int index,
Object value,
boolean clone) |
JsonArray |
JsonArray.add(int index,
Object value,
boolean clone)
Adds an object at the specified index.
|
JsonArray |
JsonArrayDefault.add(Object value) |
JsonArray |
JsonArray.add(Object value)
Adds an object at the end of the array.
|
JsonArray |
JsonArrayDefault.add(Object value,
boolean clone) |
JsonArray |
JsonArray.add(Object value,
boolean clone)
Adds an object at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(Collection<?> values) |
JsonArray |
JsonArray.addAll(Collection<?> values)
Adds all elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(Collection<?> values,
boolean clone) |
JsonArray |
JsonArray.addAll(Collection<?> values,
boolean clone)
Adds all elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(JsonArray values) |
JsonArray |
JsonArray.addAll(JsonArray values)
Adds all elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(JsonArray values,
boolean clone) |
JsonArray |
JsonArray.addAll(JsonArray values,
boolean clone)
Adds elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(Object[] values) |
JsonArray |
JsonArray.addAll(Object[] values)
Adds all elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(Object[] values,
boolean clone) |
JsonArray |
JsonArray.addAll(Object[] values,
boolean clone)
Adds elements at the end of the array.
|
protected JsonArray |
JsonArrayDefault.addAsIs(Integer index,
Object value) |
protected JsonArray |
JsonArrayDefault.addAsIs(Object value) |
JsonArray |
JsonArrayDefault.clear() |
JsonArray |
JsonArrayDefault.clone(boolean mutable) |
JsonArray |
JsonArray.clone(boolean mutable)
Deep copy of the
JsonArray, so any
modification to the original won't affect the
clone, and vice-versa. |
JsonArray |
JsonManager.cloneJsonArray(JsonArray jsonArray,
boolean mutable)
Deep copy of the
JsonArray, so any
modification to the original won't affect the
clone, and vice-versa. |
JsonArray |
ToJsonArrayConvertible.convertToJsonArray()
Converts the object to a
JsonArray. |
JsonArray |
JsonObjectFactory.createArray()
Creates an empty and mutable JsonArray.
|
JsonArray |
JsonManager.createArray()
Creates an empty
JsonArray. |
JsonArray |
JsonObjectFactory.createArray(List<Object> elements,
boolean mutable)
Creates a JsonArray based on the List.
|
JsonArray |
JsonManager.fromInputStreamArray(InputStream inputStream)
Creates a
JsonArray from an inputStream. |
JsonArray |
JsonManager.fromListArray(List<?> elements)
Creates a
JsonArray from a List
of elements. |
JsonArray |
JsonManager.fromStringArray(String jsonString)
Creates a
JsonArray from a Json
String. |
JsonArray |
JsonArrayDefault.getArrayFirstJsonArray(int index) |
JsonArray |
JsonArray.getArrayFirstJsonArray(int index)
Gets the first element (as JsonArray) of a
JsonArray element. |
JsonArray |
JsonArrayDefault.getArrayFirstJsonArray(int index,
JsonArray defaultValue) |
JsonArray |
JsonArray.getArrayFirstJsonArray(int index,
JsonArray defaultValue)
Gets the first element (as JsonArray) of a
JsonArray element. |
JsonArray |
JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath)
Gets the first value (as JsonArray) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArray(String key) |
protected JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArray(String key,
boolean parseJsonPath,
boolean hasdefaultElement,
JsonArray defaultElement) |
JsonArray |
JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath,
JsonArray defaultElement)
Gets the first value (as JsonArray) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArray(String key,
JsonArray defaultElement) |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key) |
JsonArray |
JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key)
Gets the first value (as JsonArray) of a
JsonArray element
. |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key,
JsonArray defaultElement) |
JsonArray |
JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key,
JsonArray defaultElement)
Gets the first value (as JsonArray) of a
JsonArray element
. |
JsonArray |
JsonArrayDefault.getJsonArray(int index) |
JsonArray |
JsonArray.getJsonArray(int index)
Gets an element as
JsonArray. |
JsonArray |
JsonArrayDefault.getJsonArray(int index,
JsonArray defaultValue) |
JsonArray |
JsonArray.getJsonArray(int index,
JsonArray defaultValue)
Gets an element as
JsonArray. |
JsonArray |
JsonObjectOrArray.getJsonArray(String jsonPath)
Gets an element as
JsonArray using the
specified JsonPath. |
JsonArray |
JsonObjectArrayBase.getJsonArray(String jsonPath) |
protected JsonArray |
JsonObjectArrayBase.getJsonArray(String jsonPath,
boolean hasdefaultElement,
JsonArray defaultElement,
boolean parseJsonPath) |
JsonArray |
JsonObjectOrArray.getJsonArray(String jsonPath,
JsonArray defaultElement)
Gets an element as
JsonArray using the
specified JsonPath. |
JsonArray |
JsonObjectArrayBase.getJsonArray(String jsonPath,
JsonArray defaultElement) |
protected JsonArray |
JsonObjectArrayBase.getJsonArrayFromObject(Object object) |
JsonArray |
JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath) |
JsonArray |
JsonObject.getJsonArrayNoKeyParsing(String jsonPath)
Gets an element as
JsonArray. |
JsonArray |
JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath,
JsonArray defaultElement) |
JsonArray |
JsonObject.getJsonArrayNoKeyParsing(String jsonPath,
JsonArray defaultElement)
Gets an element as
JsonArray. |
JsonArray |
JsonArrayDefault.getJsonArrayOrEmpty(int index) |
JsonArray |
JsonArray.getJsonArrayOrEmpty(int index)
Gets an element as
JsonArray. |
JsonArray |
JsonObjectOrArray.getJsonArrayOrEmpty(String jsonPath)
Gets an element as
JsonArray using the
specified JsonPath. |
JsonArray |
JsonObjectArrayBase.getJsonArrayOrEmpty(String jsonPath) |
JsonArray |
JsonObjectArrayBase.getJsonArrayOrEmptyNoKeyParsing(String jsonPath) |
JsonArray |
JsonObject.getJsonArrayOrEmptyNoKeyParsing(String jsonPath)
Gets an element as
JsonArray. |
protected JsonArray |
JsonArrayDefault.putAsIs(String key,
Object value) |
JsonArray |
JsonArrayDefault.remove(int index) |
JsonArray |
JsonArray.remove(int index)
Removes an element at the specified index.
|
JsonArray |
JsonArrayDefault.remove(String jsonPath) |
JsonArray |
JsonArrayDefault.set(int index,
Object value) |
JsonArray |
JsonArray.set(int index,
Object value)
Sets an object at the specified index.
|
JsonArray |
JsonArrayDefault.set(int index,
Object value,
boolean clone) |
JsonArray |
JsonArray.set(int index,
Object value,
boolean clone)
Sets an object at the specified index.
|
JsonArray |
JsonArrayDefault.setOrAdd(Integer index,
Object value,
boolean clone,
boolean insert) |
protected JsonArray |
JsonArrayDefault.setOrAddAsIs(Integer index,
Object value,
boolean insert) |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonArrayDefault.addAll(JsonArray values) |
JsonArray |
JsonArray.addAll(JsonArray values)
Adds all elements at the end of the array.
|
JsonArray |
JsonArrayDefault.addAll(JsonArray values,
boolean clone) |
JsonArray |
JsonArray.addAll(JsonArray values,
boolean clone)
Adds elements at the end of the array.
|
JsonArray |
JsonManager.cloneJsonArray(JsonArray jsonArray,
boolean mutable)
Deep copy of the
JsonArray, so any
modification to the original won't affect the
clone, and vice-versa. |
T |
JsonObjectDefault.IFirstElementGetter.get(JsonArray array,
boolean hasDefaultValue,
T defaultValue) |
JsonArray |
JsonArrayDefault.getArrayFirstJsonArray(int index,
JsonArray defaultValue) |
JsonArray |
JsonArray.getArrayFirstJsonArray(int index,
JsonArray defaultValue)
Gets the first element (as JsonArray) of a
JsonArray element. |
protected JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArray(String key,
boolean parseJsonPath,
boolean hasdefaultElement,
JsonArray defaultElement) |
JsonArray |
JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath,
JsonArray defaultElement)
Gets the first value (as JsonArray) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArray(String key,
JsonArray defaultElement) |
JsonArray |
JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key,
JsonArray defaultElement) |
JsonArray |
JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key,
JsonArray defaultElement)
Gets the first value (as JsonArray) of a
JsonArray element
. |
Object |
JsonPathUtilsDefault.getElementAtJsonPath(JsonArray array,
String jsonPath) |
Object |
JsonPathUtils.getElementAtJsonPath(JsonArray array,
String jsonPath)
Gets an element from the
JsonArray, at the
specified JsonPath. |
Object |
JsonManager.getElementAtJsonPath(JsonArray array,
String jsonPath)
Gets an element from the
JsonArray at the
specified JsonPath. |
Object |
JsonPathUtilsDefault.getElementAtJsonPath(JsonArray array,
String jsonPath,
Object defaultElement) |
Object |
JsonPathUtils.getElementAtJsonPath(JsonArray array,
String jsonPath,
Object defaultElement)
Gets an element from the
JsonArray, at the
specified JsonPath. |
Object |
JsonManager.getElementAtJsonPath(JsonArray array,
String jsonPath,
Object defaultElement)
Gets an element from the
JsonArray at the
specified JsonPath. |
JsonArray |
JsonArrayDefault.getJsonArray(int index,
JsonArray defaultValue) |
JsonArray |
JsonArray.getJsonArray(int index,
JsonArray defaultValue)
Gets an element as
JsonArray. |
protected JsonArray |
JsonObjectArrayBase.getJsonArray(String jsonPath,
boolean hasdefaultElement,
JsonArray defaultElement,
boolean parseJsonPath) |
JsonArray |
JsonObjectOrArray.getJsonArray(String jsonPath,
JsonArray defaultElement)
Gets an element as
JsonArray using the
specified JsonPath. |
JsonArray |
JsonObjectArrayBase.getJsonArray(String jsonPath,
JsonArray defaultElement) |
JsonArray |
JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath,
JsonArray defaultElement) |
JsonArray |
JsonObject.getJsonArrayNoKeyParsing(String jsonPath,
JsonArray defaultElement)
Gets an element as
JsonArray. |
boolean |
JsonPathUtilsDefault.isElementExists(JsonArray array,
String jsonPath) |
boolean |
JsonPathUtils.isElementExists(JsonArray array,
String jsonPath)
Does the array contain an element at
the
JsonPath position (even if
null)? |
boolean |
JsonManager.isElementExists(JsonArray array,
String jsonPath)
Does the array contain an element at
the specified
JsonPath (even if
null)? |
boolean |
JsonArrayDefault.isEquivalentTo(JsonArray other) |
boolean |
JsonArray.isEquivalentTo(JsonArray other)
Compares the current
JsonArray to the specified one
and returns true if they are equivalent. |
void |
JsonPathUtilsDefault.removeElementAtJsonPath(JsonArray array,
String jsonPath) |
void |
JsonPathUtils.removeElementAtJsonPath(JsonArray array,
String jsonPath)
Removes an element at the specified
JsonPath from the
array. |
void |
JsonManager.removeElementAtJsonPath(JsonArray array,
String jsonPath)
Removes an element at the specified
JsonPath from the
array. |
protected Object |
JsonPathUtilsDefault.selectValueUsingJsonPath(JsonArray array,
String jsonPath,
boolean hasDefaultValue,
Object defaultElement) |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
ObjectConverterDefault.convertToJsonArray(Object object) |
JsonArray |
ObjectConverter.convertToJsonArray(Object element)
Converts the element to a
JsonArray. |
| Modifier and Type | Method and Description |
|---|---|
protected JsonArray |
JsonArrayValidationSetDefault.getValidatedObject() |
protected JsonArray |
JsonArrayValidationBuilderKeyDefault.getValidatedObject() |
| Modifier and Type | Method and Description |
|---|---|
ValidationBuilderArray |
ValidationBuilderTargetDefault.all(JsonArray array) |
ValidationBuilderArray |
ValidationBuilderTarget.all(JsonArray array)
Validates all the elements of the specified
JsonArray. |
JsonArrayValidationBuilderKey |
ValidationFactory.createJsonArrayValidationBuilderKey(ValidationSet validationSet,
JsonArray validatedObject,
SimpleValidator validator)
Creates a
JsonArrayValidationBuilderKey. |
JsonArrayValidationSet |
ValidationFactory.createJsonArrayValidationSet(JsonArray arrayToValidate)
Creates a validation set which is binded to the
specified
JsonArray. |
ValidationBuilderArray |
ValidationFactory.createValidationBuilderArray(ValidationSet validationSet,
SimpleValidator validator,
String validationKey,
JsonArray array)
Creates a
ValidationBuilderArray. |
ValidationBuilderArray |
ValidationFactory.createValidationBuilderArray(ValidationSet validationSet,
SimpleValidator validator,
String validationKey,
JsonArray array,
boolean elementWasNotAnArray)
Creates a
ValidationBuilderArray. |
| Constructor and Description |
|---|
JsonArrayValidationBuilderKeyDefault(ValidationSet validationSet,
JsonArray validatedObject,
SimpleValidator validator,
ValidationFactory validationFactory) |
JsonArrayValidationSetDefault(JsonArray validatedObject,
ValidationFactory validationFactory,
SpincastDictionary spincastDictionary,
JsonManager jsonManager,
XmlManager xmlManager,
ObjectConverter objectConverter) |
ValidationBuilderArrayDefault(ValidationSet validationSet,
SimpleValidator validator,
String validationKey,
JsonArray array,
boolean elementWasNotAnArray,
ValidationFactory validationFactory,
SpincastDictionary spincastDictionary,
JsonManager jsonManager) |
ValidationBuilderArrayDefault(ValidationSet validationSet,
SimpleValidator validator,
String validationKey,
JsonArray array,
ValidationFactory validationFactory,
SpincastDictionary spincastDictionary,
JsonManager jsonManager) |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
XmlManager.fromXmlToJsonArray(String xml)
Deserializes a XML to an
JsonArray. |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
SpincastJsonManager.cloneJsonArray(JsonArray jsonArray,
boolean mutable) |
JsonArray |
SpincastJsonManager.createArray() |
JsonArray |
SpincastJsonManager.fromInputStreamArray(InputStream inputStream) |
JsonArray |
SpincastJsonManager.fromListArray(List<?> elements) |
JsonArray |
SpincastJsonManager.fromStringArray(String jsonString) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<JsonArray> |
SpincastJsonManager.getJsonArrayDeserializer() |
protected com.fasterxml.jackson.databind.JsonSerializer<JsonArray> |
SpincastJsonManager.getJsonArraySerializer() |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
SpincastJsonManager.cloneJsonArray(JsonArray jsonArray,
boolean mutable) |
Object |
SpincastJsonManager.getElementAtJsonPath(JsonArray array,
String jsonPath) |
Object |
SpincastJsonManager.getElementAtJsonPath(JsonArray array,
String jsonPath,
Object defaultValue) |
boolean |
SpincastJsonManager.isElementExists(JsonArray array,
String jsonPath) |
void |
SpincastJsonManager.removeElementAtJsonPath(JsonArray array,
String jsonPath) |
| Modifier and Type | Interface and Description |
|---|---|
protected static interface |
SpincastXmlManager.JsonArrayMixIn |
| Modifier and Type | Method and Description |
|---|---|
protected JsonArray |
SpincastXmlManager.deserializeJsonArray(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser,
com.fasterxml.jackson.databind.DeserializationContext context) |
protected JsonArray |
SpincastXmlManager.deserializeJsonArray(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser,
com.fasterxml.jackson.databind.DeserializationContext context,
boolean firstElementSkipped) |
JsonArray |
SpincastXmlManager.fromXmlToJsonArray(String xml) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<JsonArray> |
SpincastXmlManager.getJsonArrayDeserializer() |
protected com.fasterxml.jackson.databind.JsonSerializer<JsonArray> |
SpincastXmlManager.getJsonArraySerializer() |
Copyright © 2017. All rights reserved.