Uses of Interface
org.spincast.core.json.JsonArray
Packages that use JsonArray
Package
Description
-
Uses of JsonArray in org.spincast.core.guice
Methods in org.spincast.core.guice that return types with arguments of type JsonArray -
Uses of JsonArray in org.spincast.core.json
Classes in org.spincast.core.json that implement JsonArrayMethods in org.spincast.core.json that return JsonArrayModifier and TypeMethodDescriptionInserts an object at the specified index in the array.Adds an object at the specified index.Adds an object at the end of the array.Adds an object at the end of the array.Adds all elements at the end of the array.Adds elements at the end of the array.JsonArray.addAll(Collection<?> values) Adds all elements at the end of the array.JsonArray.addAll(Collection<?> values, boolean clone) Adds all elements at the end of the array.Adds all elements at the end of the array.Adds elements at the end of the array.JsonArrayDefault.addAll(Collection<?> values) JsonArrayDefault.addAll(Collection<?> values, boolean clone) protected JsonArrayprotected JsonArrayJsonArrayDefault.clear()JsonArray.clone(boolean mutable) Deep copy of theJsonArray, so any modification to the original won't affect the clone, and vice-versa.JsonArrayDefault.clone(boolean mutable) JsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) Deep copy of theJsonArray, so any modification to the original won't affect the clone, and vice-versa.ToJsonArrayConvertible.convertToJsonArray()Converts the object to aJsonArray.JsonManager.createArray()Creates an emptyJsonArray.JsonObjectFactory.createArray()Creates an empty and mutable JsonArray.JsonObjectFactory.createArray(List<Object> elements, boolean mutable) Creates a JsonArray based on the List.JsonManager.enumsToFriendlyJsonArray(Enum<?>[] enumValues) Convert the enums to an array ofJsonObjectsthat have a ".name" property (thename()of the enum) and a ".label" property (thetoString()of the enum).JsonManager.fromCollectionToJsonArray(Collection<?> collection) Creates aJsonArrayfrom a random collection.JsonManager.fromInputStreamArray(InputStream inputStream) Creates aJsonArrayfrom an inputStream.JsonManager.fromListArray(List<?> elements) Creates aJsonArrayfrom aListof elements.JsonManager.fromStringArray(String jsonString) Creates aJsonArrayfrom aJsonString.JsonArray.getArrayFirstJsonArray(int index) Gets the first element (as JsonArray) of aJsonArrayelement.JsonArray.getArrayFirstJsonArray(int index, JsonArray defaultValue) Gets the first element (as JsonArray) of aJsonArrayelement.JsonArrayDefault.getArrayFirstJsonArray(int index) JsonArrayDefault.getArrayFirstJsonArray(int index, JsonArray defaultValue) JsonObjectArrayBase.getArrayFirstJsonArray(String key) protected JsonArrayJsonObjectArrayBase.getArrayFirstJsonArray(String key, boolean parseJsonPath, boolean hasdefaultElement, JsonArray defaultElement) JsonObjectArrayBase.getArrayFirstJsonArray(String key, JsonArray defaultElement) JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath) Gets the first value (as JsonArray) of aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key) Gets the first value (as JsonArray) of aJsonArrayelement .JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArrayelement .JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key) JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key, JsonArray defaultElement) JsonArray.getJsonArray(int index) Gets an element asJsonArray.JsonArray.getJsonArray(int index, JsonArray defaultValue) Gets an element asJsonArray.JsonArrayDefault.getJsonArray(int index) JsonArrayDefault.getJsonArray(int index, JsonArray defaultValue) JsonObjectArrayBase.getJsonArray(String jsonPath) protected JsonArrayJsonObjectArrayBase.getJsonArray(String jsonPath, boolean hasdefaultElement, JsonArray defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonArray(String jsonPath, JsonArray defaultElement) JsonObjectOrArray.getJsonArray(String jsonPath) Gets an element asJsonArrayusing the specifiedJsonPath.JsonObjectOrArray.getJsonArray(String jsonPath, JsonArray defaultElement) Gets an element asJsonArrayusing the specifiedJsonPath.protected JsonArrayJsonObjectArrayBase.getJsonArrayFromObject(Object object) JsonObject.getJsonArrayNoKeyParsing(String jsonPath) Gets an element asJsonArray.JsonObject.getJsonArrayNoKeyParsing(String jsonPath, JsonArray defaultElement) Gets an element asJsonArray.JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath) JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath, JsonArray defaultElement) JsonArray.getJsonArrayOrEmpty(int index) Gets an element asJsonArray.JsonArrayDefault.getJsonArrayOrEmpty(int index) JsonObjectArrayBase.getJsonArrayOrEmpty(String jsonPath) JsonObjectArrayBase.getJsonArrayOrEmpty(String jsonPath, boolean addIfDoesntExist) JsonObjectOrArray.getJsonArrayOrEmpty(String jsonPath) Gets an element asJsonArrayusing the specifiedJsonPath.JsonObjectOrArray.getJsonArrayOrEmpty(String jsonPath, boolean addIfDoesntExist) Gets an element asJsonArrayusing the specifiedJsonPath.JsonObject.getJsonArrayOrEmptyNoKeyParsing(String jsonPath) Gets an element asJsonArray.JsonObjectArrayBase.getJsonArrayOrEmptyNoKeyParsing(String jsonPath) protected JsonArrayJsonArray.remove(int index) Removes an element at the specified index.JsonArrayDefault.remove(int index) Sets an object at the specified index.Sets an object at the specified index.protected JsonArrayJsonArrayDefault.setOrAddAsIs(Integer index, Object value, boolean insert) Methods in org.spincast.core.json with parameters of type JsonArrayModifier and TypeMethodDescriptionAdds all elements at the end of the array.Adds elements at the end of the array.JsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) Deep copy of theJsonArray, so any modification to the original won't affect the clone, and vice-versa.JsonArray.getArrayFirstJsonArray(int index, JsonArray defaultValue) Gets the first element (as JsonArray) of aJsonArrayelement.JsonArrayDefault.getArrayFirstJsonArray(int index, JsonArray defaultValue) protected JsonArrayJsonObjectArrayBase.getArrayFirstJsonArray(String key, boolean parseJsonPath, boolean hasdefaultElement, JsonArray defaultElement) JsonObjectArrayBase.getArrayFirstJsonArray(String key, JsonArray defaultElement) JsonObjectOrArray.getArrayFirstJsonArray(String jsonPath, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObject.getArrayFirstJsonArrayNoKeyParsing(String key, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArrayelement .JsonObjectArrayBase.getArrayFirstJsonArrayNoKeyParsing(String key, JsonArray defaultElement) JsonManager.getElementAtJsonPath(JsonArray array, String jsonPath) Gets an element from theJsonArrayat the specifiedJsonPath.JsonManager.getElementAtJsonPath(JsonArray array, String jsonPath, Object defaultElement) Gets an element from theJsonArrayat the specifiedJsonPath.JsonPathUtils.getElementAtJsonPath(JsonArray array, String jsonPath) Gets an element from theJsonArray, at the specifiedJsonPath.JsonPathUtils.getElementAtJsonPath(JsonArray array, String jsonPath, Object defaultElement) Gets an element from theJsonArray, at the specifiedJsonPath.JsonPathUtilsDefault.getElementAtJsonPath(JsonArray array, String jsonPath) JsonPathUtilsDefault.getElementAtJsonPath(JsonArray array, String jsonPath, Object defaultElement) JsonArray.getJsonArray(int index, JsonArray defaultValue) Gets an element asJsonArray.JsonArrayDefault.getJsonArray(int index, JsonArray defaultValue) protected JsonArrayJsonObjectArrayBase.getJsonArray(String jsonPath, boolean hasdefaultElement, JsonArray defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonArray(String jsonPath, JsonArray defaultElement) JsonObjectOrArray.getJsonArray(String jsonPath, JsonArray defaultElement) Gets an element asJsonArrayusing the specifiedJsonPath.JsonObject.getJsonArrayNoKeyParsing(String jsonPath, JsonArray defaultElement) Gets an element asJsonArray.JsonObjectArrayBase.getJsonArrayNoKeyParsing(String jsonPath, JsonArray defaultElement) booleanJsonManager.isElementExists(JsonArray array, String jsonPath) Does the array contain an element at the specifiedJsonPath(even ifnull)?booleanJsonPathUtils.isElementExists(JsonArray array, String jsonPath) Does the array contain an element at theJsonPathposition (even ifnull)?booleanJsonPathUtilsDefault.isElementExists(JsonArray array, String jsonPath) booleanJsonArray.isEquivalentTo(JsonArray other) Compares the currentJsonArrayto the specified one and returnstrueif they are equivalent.booleanJsonArrayDefault.isEquivalentTo(JsonArray other) voidJsonManager.removeElementAtJsonPath(JsonArray array, String jsonPath) Removes an element at the specifiedJsonPathfrom the array.voidJsonPathUtils.removeElementAtJsonPath(JsonArray array, String jsonPath) Removes an element at the specifiedJsonPathfrom the array.voidJsonPathUtilsDefault.removeElementAtJsonPath(JsonArray array, String jsonPath) protected ObjectJsonPathUtilsDefault.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 JsonArrayModifier and TypeMethodDescriptionObjectConverter.convertToJsonArray(Object element) Converts the element to aJsonArray.ObjectConverterDefault.convertToJsonArray(Object object) -
Uses of JsonArray in org.spincast.core.xml
Methods in org.spincast.core.xml that return JsonArrayModifier and TypeMethodDescriptionXmlManager.fromXmlToJsonArray(String xml) Deserializes a XML to anJsonArray. -
Uses of JsonArray in org.spincast.plugins.gson
Methods in org.spincast.plugins.gson that return JsonArrayModifier and TypeMethodDescriptionSpincastGsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) SpincastGsonManager.createArray()SpincastGsonManager.enumsToFriendlyJsonArray(Enum<?>[] enumValues) SpincastGsonManager.fromCollectionToJsonArray(Collection<?> collection) SpincastGsonManager.fromInputStreamArray(InputStream inputStream) SpincastGsonManager.fromListArray(List<?> elements) SpincastGsonManager.fromStringArray(String jsonString) Methods in org.spincast.plugins.gson that return types with arguments of type JsonArrayModifier and TypeMethodDescriptionprotected com.google.gson.JsonDeserializer<JsonArray>SpincastGsonManager.getJsonArrayDeserializer()SpincastGsonPluginModule.getJsonArrayDeserializerImpl()protected com.google.gson.JsonSerializer<JsonArray>SpincastGsonManager.getJsonArraySerializer()SpincastGsonPluginModule.getJsonArraySerializerImpl()Methods in org.spincast.plugins.gson with parameters of type JsonArrayModifier and TypeMethodDescriptionSpincastGsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) SpincastGsonManager.getElementAtJsonPath(JsonArray array, String jsonPath) SpincastGsonManager.getElementAtJsonPath(JsonArray array, String jsonPath, Object defaultValue) booleanSpincastGsonManager.isElementExists(JsonArray array, String jsonPath) voidSpincastGsonManager.removeElementAtJsonPath(JsonArray array, String jsonPath) -
Uses of JsonArray in org.spincast.plugins.gson.serializers
Methods in org.spincast.plugins.gson.serializers that return JsonArrayModifier and TypeMethodDescriptionJsonArrayDeserializer.deserialize(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) Methods in org.spincast.plugins.gson.serializers with parameters of type JsonArray -
Uses of JsonArray in org.spincast.plugins.jacksonjson
Methods in org.spincast.plugins.jacksonjson that return JsonArrayModifier and TypeMethodDescriptionSpincastJsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) SpincastJsonManager.createArray()SpincastJsonManager.enumsToFriendlyJsonArray(Enum<?>[] enumValues) SpincastJsonManager.fromCollectionToJsonArray(Collection<?> collection) SpincastJsonManager.fromInputStreamArray(InputStream inputStream) SpincastJsonManager.fromListArray(List<?> elements) SpincastJsonManager.fromStringArray(String jsonString) Methods in org.spincast.plugins.jacksonjson that return types with arguments of type JsonArrayModifier and TypeMethodDescriptionprotected 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 JsonArrayModifier and TypeMethodDescriptionSpincastJsonManager.cloneJsonArray(JsonArray jsonArray, boolean mutable) SpincastJsonManager.getElementAtJsonPath(JsonArray array, String jsonPath) SpincastJsonManager.getElementAtJsonPath(JsonArray array, String jsonPath, Object defaultValue) booleanSpincastJsonManager.isElementExists(JsonArray array, String jsonPath) voidSpincastJsonManager.removeElementAtJsonPath(JsonArray array, String jsonPath) -
Uses of JsonArray in org.spincast.plugins.jacksonxml
Subinterfaces of JsonArray in org.spincast.plugins.jacksonxmlModifier and TypeInterfaceDescriptionprotected static interfaceMethods in org.spincast.plugins.jacksonxml that return JsonArrayModifier and TypeMethodDescriptionprotected JsonArraySpincastXmlManager.deserializeJsonArray(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser, com.fasterxml.jackson.databind.DeserializationContext context) protected JsonArraySpincastXmlManager.deserializeJsonArray(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser, com.fasterxml.jackson.databind.DeserializationContext context, boolean firstElementSkipped) SpincastXmlManager.fromXmlToJsonArray(String xml) Methods in org.spincast.plugins.jacksonxml that return types with arguments of type JsonArrayModifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonDeserializer<JsonArray>SpincastXmlManager.getJsonArrayDeserializer()protected com.fasterxml.jackson.databind.JsonSerializer<JsonArray>SpincastXmlManager.getJsonArraySerializer() -
Uses of JsonArray in org.spincast.plugins.pebble
Methods in org.spincast.plugins.pebble with parameters of type JsonArrayModifier and TypeMethodDescriptionprotected com.mitchellbosecke.pebble.attributes.ResolvedAttributeSpincastMainPebbleExtensionDefault.resolveJsonArrayAttribute(JsonArray arr, int pos, com.mitchellbosecke.pebble.template.EvaluationContextImpl context)