Uses of Class
com.azure.json.models.JsonArray
Packages that use JsonArray
Package
Description
This package contains models for representing JSON as a tree structure.
-
Uses of JsonArray in com.azure.json.models
Methods in com.azure.json.models that return JsonArrayModifier and TypeMethodDescriptionJsonArray.addElement(boolean element) Adds a boolean element to the JSON array.JsonArray.addElement(int index, boolean element) Adds a boolean element to the JSON array at the specified index.JsonArray.addElement(int index, JsonElement element) Adds a JsonElement to the JSON array at the specified index.JsonArray.addElement(int index, Number element) Adds a number element to the JSON array at the specified index.JsonArray.addElement(int index, String element) Adds a string element to the JSON array at the specified index.JsonArray.addElement(JsonElement element) Adds a JsonElement to the JSON array.JsonArray.addElement(Number element) Adds a number element to the JSON array.JsonArray.addElement(String element) Adds a string element to the JSON array.JsonElement.asArray()Casts the element to an array.static JsonArrayJsonArray.fromJson(JsonReader jsonReader) Deserializes a JSON array from a JsonReader.JsonArray.setElement(int index, boolean element) Sets a specified boolean element at a specified index within the JsonArray.JsonArray.setElement(int index, JsonElement element) Sets a specified JsonElement object at a specified index within the JsonArray.JsonArray.setElement(int index, Number element) Sets a specified number element at a specified index within the JsonArray.JsonArray.setElement(int index, String element) Sets a specified string element at a specified index within the JsonArray.