azure-docs-sdk-java/docs-ref-autogen/com.azure.json.models.JsonE...

100 строки
5.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.json.models.JsonElement"
fullName: "com.azure.json.models.JsonElement"
name: "JsonElement"
nameWithType: "JsonElement"
summary: "Interface defining methods that all JSON types must implement."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public abstract class **JsonElement**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.json.models.JsonElement?alt=com.azure.json.models.JsonElement&text=JsonElement\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.json.models.JsonElement.JsonElement()"
fullName: "com.azure.json.models.JsonElement.JsonElement()"
name: "JsonElement()"
nameWithType: "JsonElement.JsonElement()"
summary: "Default constructor."
syntax: "public JsonElement()"
desc: "Default constructor."
methods:
- uid: "com.azure.json.models.JsonElement.isArray()"
fullName: "com.azure.json.models.JsonElement.isArray()"
name: "isArray()"
nameWithType: "JsonElement.isArray()"
summary: "Indicates whether the element is an array."
syntax: "public boolean isArray()"
desc: "Indicates whether the element is an array."
returns:
description: "Whether the element is an array."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.json.models.JsonElement.isBoolean()"
fullName: "com.azure.json.models.JsonElement.isBoolean()"
name: "isBoolean()"
nameWithType: "JsonElement.isBoolean()"
summary: "Indicates whether the element is a boolean."
syntax: "public boolean isBoolean()"
desc: "Indicates whether the element is a boolean."
returns:
description: "Whether the element is a boolean."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.json.models.JsonElement.isNull()"
fullName: "com.azure.json.models.JsonElement.isNull()"
name: "isNull()"
nameWithType: "JsonElement.isNull()"
summary: "Indicates whether the element is a null."
syntax: "public boolean isNull()"
desc: "Indicates whether the element is a null."
returns:
description: "Whether the element is a null."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.json.models.JsonElement.isNumber()"
fullName: "com.azure.json.models.JsonElement.isNumber()"
name: "isNumber()"
nameWithType: "JsonElement.isNumber()"
summary: "Indicates whether the element is a number."
syntax: "public boolean isNumber()"
desc: "Indicates whether the element is a number."
returns:
description: "Whether the element is a number."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.json.models.JsonElement.isObject()"
fullName: "com.azure.json.models.JsonElement.isObject()"
name: "isObject()"
nameWithType: "JsonElement.isObject()"
summary: "Indicates whether the element is an object."
syntax: "public boolean isObject()"
desc: "Indicates whether the element is an object."
returns:
description: "Whether the element is an object."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.json.models.JsonElement.isString()"
fullName: "com.azure.json.models.JsonElement.isString()"
name: "isString()"
nameWithType: "JsonElement.isString()"
summary: "Indicates whether the element is a string."
syntax: "public boolean isString()"
desc: "Indicates whether the element is a string."
returns:
description: "Whether the element is a string."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Interface defining methods that all JSON types must implement."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.json.models.JsonElement?alt=com.azure.json.models.JsonElement&text=JsonElement\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.json.models"
artifact: com.azure:azure-json:1.3.0