public.javadoc.org.spincast.core.json.class-use.JsonArray.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
Uses of Interface org.spincast.core.json.JsonArray (org.spincast:spincast-framework 1.0.0 API)
Uses of Interface
org.spincast.core.json.JsonArray
-
Packages that use JsonArray
Package
Description
org.spincast.core.guice
org.spincast.core.json
org.spincast.core.utils
org.spincast.core.xml
org.spincast.plugins.jacksonjson
org.spincast.plugins.jacksonxml
-
-
Uses of JsonArray in org.spincast.core.guice
Methods in org.spincast.core.guice that return types with arguments of type JsonArray
Modifier and Type
Method and Description
protected Class<? extends JsonArray>
SpincastCorePluginModule.getJsonArrayImplClass()
-
Uses of JsonArray in org.spincast.core.json
Classes in org.spincast.core.json that implement JsonArray
Modifier and Type
Class and Description
class
JsonArrayDefault
JsonArray
implementation.
Methods in org.spincast.core.json that return JsonArray
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.enumsToFriendlyJsonArray(Enum<?>[] enumValues)
Convert the enums to an array of JsonObjects
that
have a ".name" property (the name()
of the enum)
and a ".label" property (the toString()
of the
enum).
JsonArray
JsonManager.fromCollectionToJsonArray(Collection<?> collection)
Creates a JsonArray
from a random collection.
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
JsonObjectOrArray.getJsonArrayOrEmpty(String jsonPath,
boolean addIfDoesntExist)
Gets an element as JsonArray
using the
specified JsonPath
.
JsonArray
JsonObjectArrayBase.getJsonArrayOrEmpty(String jsonPath,
boolean addIfDoesntExist)
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)
Methods in org.spincast.core.json with parameters of type JsonArray
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)
-
Uses of JsonArray in org.spincast.core.utils
Methods in org.spincast.core.utils that return JsonArray
Modifier and Type
Method and Description
JsonArray
ObjectConverterDefault.convertToJsonArray(Object object)
JsonArray
ObjectConverter.convertToJsonArray(Object element)
Converts the element to a JsonArray
.
-
Uses of JsonArray in org.spincast.core.xml
Methods in org.spincast.core.xml that return JsonArray
Modifier and Type
Method and Description
JsonArray
XmlManager.fromXmlToJsonArray(String xml)
Deserializes a XML to an JsonArray
.
-
Uses of JsonArray in org.spincast.plugins.jacksonjson
Methods in org.spincast.plugins.jacksonjson that return JsonArray
Modifier and Type
Method and Description
JsonArray
SpincastJsonManager.cloneJsonArray(JsonArray jsonArray,
boolean mutable)
JsonArray
SpincastJsonManager.createArray()
JsonArray
SpincastJsonManager.enumsToFriendlyJsonArray(Enum<?>[] enumValues)
JsonArray
SpincastJsonManager.fromCollectionToJsonArray(Collection<?> collection)
JsonArray
SpincastJsonManager.fromInputStreamArray(InputStream inputStream)
JsonArray
SpincastJsonManager.fromListArray(List<?> elements)
JsonArray
SpincastJsonManager.fromStringArray(String jsonString)
Methods in org.spincast.plugins.jacksonjson that return types with arguments of type JsonArray
Modifier and Type
Method and Description
protected com.fasterxml.jackson.databind.JsonDeserializer<JsonArray>
SpincastJsonManager.getJsonArrayDeserializer()
protected com.fasterxml.jackson.databind.JsonSerializer<JsonArray>
SpincastJsonManager.getJsonArraySerializer()
Methods in org.spincast.plugins.jacksonjson with parameters of type JsonArray
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)
-
Uses of JsonArray in org.spincast.plugins.jacksonxml
Subinterfaces of JsonArray in org.spincast.plugins.jacksonxml
Modifier and Type
Interface and Description
protected static interface
SpincastXmlManager.JsonArrayMixIn
Methods in org.spincast.plugins.jacksonxml that return JsonArray
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)
Methods in org.spincast.plugins.jacksonxml that return types with arguments of type JsonArray
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 © 2019. All rights reserved.