Uses of Class
com.azure.json.models.JsonElement
Packages that use JsonElement
Package
Description
This package contains models for representing JSON as a tree structure.
-
Uses of JsonElement in com.azure.json.models
Subclasses of JsonElement in com.azure.json.modelsModifier and TypeClassDescriptionfinal classModel representing a JSON array.final classModel representing a JSON boolean value.final classModel representing a JSON null value.final classClass representing the JSON number typefinal classClass representing the JSON object type.final classClass representing the JSON string typeMethods in com.azure.json.models that return JsonElementModifier and TypeMethodDescriptionJsonArray.getElement(int index) Gets the JsonElement at the specified index from the JsonArray.JsonObject.getProperty(String key) Gets the JsonElement value corresponding to the specified key.JsonArray.removeElement(int index) Removes the JsonElement at the specified index from the JsonArray.JsonObject.removeProperty(String key) Removes the JsonElement value corresponding to the specified key.Methods in com.azure.json.models with parameters of type JsonElementModifier and TypeMethodDescriptionJsonArray.addElement(int index, JsonElement element) Adds a JsonElement to the JSON array at the specified index.JsonArray.addElement(JsonElement element) Adds a JsonElement to the JSON array.JsonArray.setElement(int index, JsonElement element) Sets a specified JsonElement object at a specified index within the JsonArray.JsonObject.setProperty(String key, JsonElement element) Sets the JsonElement value corresponding to the specified key.