Uses of Class
org.apache.juneau.collections.JsonList
Packages that use JsonList
Package
Description
-
Uses of JsonList in org.apache.juneau.collections
Fields in org.apache.juneau.collections declared as JsonListModifier and TypeFieldDescriptionstatic final JsonList
JsonList.EMPTY_LIST
An empty read-only JsonList.Methods in org.apache.juneau.collections that return JsonListModifier and TypeMethodDescriptionAdds the value to this list.Adds all the values in the specified array to this list.JsonList.append
(Collection<?> values) Adds all the values in the specified collection to this list.Adds an entry to this list if the boolean flag istrue .<T> JsonList
Add if predicate matches.JsonList.appendReverse
(Object... values) Adds the contents of the array to the list in reverse order.JsonList.appendReverse
(List<?> values) Adds all the entries in the specified collection to this list in reverse order.static JsonList
JsonList.create()
Construct an empty list.Returns the first entry that exists converted to aJsonList
.JsonList.getList
(int index) Shortcut for callingget(index, JsonList.
.class )Returns the specified entry value converted to aJsonList
.Same asJsonMap.getList(String)
but creates a new emptyJsonList
if it doesn't already exist.Returns the specified entry value converted to aJsonList
.JsonList.modifiable()
Returns a modifiable copy of this list if it's unmodifiable.static JsonList
Construct a list initialized with the specified values.static JsonList
JsonList.of
(Collection<?> values) Construct a list initialized with the specified list.static JsonList
Convenience method for creating a list of array objects.static JsonList
JsonList.ofCollections
(Collection<?>... values) Convenience method for creating a list of collection objects.static JsonList
Construct a list initialized with the specified reader containing JSON.static JsonList
JsonList.ofJson
(CharSequence json) Construct a list initialized with the specified JSON string.static JsonList
JsonList.ofJsonOrCdl
(String s) Parses a string that can consist of either a JSON array or comma-delimited list.static JsonList
Construct a list initialized with the specified string.static JsonList
JsonList.ofText
(CharSequence in, Parser p) Construct a list initialized with the specified string.JsonList.session
(BeanSession session) Override the default bean session used for converting POJOs.JsonList.setBeanSession
(BeanSession value) Sets theBeanSession
currently associated with this list.JsonList.unmodifiable()
Returns an unmodifiable copy of this list if it's modifiable.Convenience method for serializing this JsonList to the specified Writer using the JsonSerializer.DEFAULT serializer.Methods in org.apache.juneau.collections with parameters of type JsonList -
Uses of JsonList in org.apache.juneau.config
Methods in org.apache.juneau.config that return types with arguments of type JsonList -
Uses of JsonList in org.apache.juneau.internal
Subclasses of JsonList in org.apache.juneau.internalModifier and TypeClassDescriptionclass
DelegateList<T extends Collection<?>>
Represents a wrappedCollection
where entries in the list can be removed or reordered without affecting the underlying list. -
Uses of JsonList in org.apache.juneau.objecttools
Methods in org.apache.juneau.objecttools that return JsonListModifier and TypeMethodDescriptionObjectRest.getJsonList
(String url) Returns the specified entry value converted to aJsonList
.ObjectRest.getJsonList
(String url, JsonList defVal) Returns the specified entry value converted to aJsonList
.Methods in org.apache.juneau.objecttools with parameters of type JsonListModifier and TypeMethodDescriptionObjectRest.getJsonList
(String url, JsonList defVal) Returns the specified entry value converted to aJsonList
.