102 строки
7.3 KiB
YAML
102 строки
7.3 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.json.models.JsonNull"
|
|
fullName: "com.azure.json.models.JsonNull"
|
|
name: "JsonNull"
|
|
nameWithType: "JsonNull"
|
|
summary: "Model representing a JSON null value."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.json.models.JsonElement?alt=com.azure.json.models.JsonElement&text=JsonElement\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isArray()?alt=com.azure.json.models.JsonElement.isArray&text=isArray\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isBoolean()?alt=com.azure.json.models.JsonElement.isBoolean&text=isBoolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isNull()?alt=com.azure.json.models.JsonElement.isNull&text=isNull\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isNumber()?alt=com.azure.json.models.JsonElement.isNumber&text=isNumber\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isObject()?alt=com.azure.json.models.JsonElement.isObject&text=isObject\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.json.models.JsonElement.isString()?alt=com.azure.json.models.JsonElement.isString&text=isString\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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 final class **JsonNull**</br> extends <xref href=\"com.azure.json.models.JsonElement?alt=com.azure.json.models.JsonElement&text=JsonElement\" data-throw-if-not-resolved=\"False\" />"
|
|
methods:
|
|
- uid: "com.azure.json.models.JsonNull.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.json.models.JsonNull.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "JsonNull.fromJson(JsonReader jsonReader)"
|
|
summary: "Deserializes a JSON null from a Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader to deserialize from."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static JsonNull fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while deserializing the JSON null."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Deserializes a JSON null from a JsonReader.\n\nIf the JsonReader's current token is null, it is assumed the JsonReader hasn't begun reading and <xref uid=\"com.azure.json.JsonReader.nextToken()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader#nextToken()\"></xref> will be called to begin reading.\n\nAfter ensuring the JsonReader has begun reading, if the current token is not <xref uid=\"com.azure.json.JsonToken.NULL\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonToken#NULL\"></xref>, an <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IllegalStateException\"></xref> will be thrown. Otherwise, <xref uid=\"com.azure.json.models.JsonNull.getInstance()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonNull#getInstance()\"></xref> will be called to return the deserialized JSON null."
|
|
returns:
|
|
description: "The deserialized JSON null."
|
|
type: "<xref href=\"com.azure.json.models.JsonNull?alt=com.azure.json.models.JsonNull&text=JsonNull\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.models.JsonNull.getInstance()"
|
|
fullName: "com.azure.json.models.JsonNull.getInstance()"
|
|
name: "getInstance()"
|
|
nameWithType: "JsonNull.getInstance()"
|
|
summary: "Gets the instance of the Json<wbr>Null class."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static JsonNull getInstance()"
|
|
desc: "Gets the instance of the JsonNull class."
|
|
returns:
|
|
description: "The JsonNull instance."
|
|
type: "<xref href=\"com.azure.json.models.JsonNull?alt=com.azure.json.models.JsonNull&text=JsonNull\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.models.JsonNull.isNull()"
|
|
fullName: "com.azure.json.models.JsonNull.isNull()"
|
|
name: "isNull()"
|
|
nameWithType: "JsonNull.isNull()"
|
|
summary: "Identifies if a Json<wbr>Element is of type Json<wbr>Null."
|
|
overridden: "com.azure.json.models.JsonElement.isNull()"
|
|
syntax: "public boolean isNull()"
|
|
desc: "Identifies if a JsonElement is of type JsonNull."
|
|
returns:
|
|
description: "A boolean value of whether a JsonElement is null."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.models.JsonNull.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.json.models.JsonNull.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "JsonNull.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.models.JsonNull.toJsonString()"
|
|
fullName: "com.azure.json.models.JsonNull.toJsonString()"
|
|
name: "toJsonString()"
|
|
nameWithType: "JsonNull.toJsonString()"
|
|
syntax: "public String toJsonString()"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
type: "class"
|
|
desc: "Model representing a JSON null value."
|
|
metadata: {}
|
|
package: "com.azure.json.models"
|
|
artifact: com.azure:azure-json:1.3.0
|