86 строки
5.9 KiB
YAML
86 строки
5.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.json.JsonOptions"
|
|
fullName: "com.azure.json.JsonOptions"
|
|
name: "JsonOptions"
|
|
nameWithType: "JsonOptions"
|
|
summary: "Contains configuration options for creating a <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> or <xref uid=\"com.azure.json.JsonWriter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonWriter\"></xref>."
|
|
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 final class **JsonOptions**"
|
|
constructors:
|
|
- uid: "com.azure.json.JsonOptions.JsonOptions()"
|
|
fullName: "com.azure.json.JsonOptions.JsonOptions()"
|
|
name: "JsonOptions()"
|
|
nameWithType: "JsonOptions.JsonOptions()"
|
|
summary: "Creates an instance of <xref uid=\"com.azure.json.JsonOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonOptions\"></xref>."
|
|
syntax: "public JsonOptions()"
|
|
desc: "Creates an instance of <xref uid=\"com.azure.json.JsonOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonOptions\"></xref>."
|
|
methods:
|
|
- uid: "com.azure.json.JsonOptions.isJsoncSupported()"
|
|
fullName: "com.azure.json.JsonOptions.isJsoncSupported()"
|
|
name: "isJsoncSupported()"
|
|
nameWithType: "JsonOptions.isJsoncSupported()"
|
|
summary: "Whether JSONC (JSON with comments) is supported."
|
|
syntax: "public boolean isJsoncSupported()"
|
|
desc: "Whether JSONC (JSON with comments) is supported. By default, this is configured to false."
|
|
returns:
|
|
description: "Whether JSONC is supported."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.JsonOptions.isNonNumericNumbersSupported()"
|
|
fullName: "com.azure.json.JsonOptions.isNonNumericNumbersSupported()"
|
|
name: "isNonNumericNumbersSupported()"
|
|
nameWithType: "JsonOptions.isNonNumericNumbersSupported()"
|
|
summary: "Whether non-numeric numbers such as `NaN` and `INF` and `-INF` are supported."
|
|
syntax: "public boolean isNonNumericNumbersSupported()"
|
|
desc: "Whether non-numeric numbers such as `NaN` and `INF` and `-INF` are supported.\n\nBy default, this is configured to true."
|
|
returns:
|
|
description: "Whether non-numeric numbers are supported."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.JsonOptions.setJsoncSupported(boolean)"
|
|
fullName: "com.azure.json.JsonOptions.setJsoncSupported(boolean jsoncSupported)"
|
|
name: "setJsoncSupported(boolean jsoncSupported)"
|
|
nameWithType: "JsonOptions.setJsoncSupported(boolean jsoncSupported)"
|
|
summary: "Sets whether JSONC (JSON with comments) is supported."
|
|
parameters:
|
|
- description: "Whether JSONC is supported."
|
|
name: "jsoncSupported"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonOptions setJsoncSupported(boolean jsoncSupported)"
|
|
desc: "Sets whether JSONC (JSON with comments) is supported. By default, this is configured to false."
|
|
returns:
|
|
description: "The updated JsonOptions object."
|
|
type: "<xref href=\"com.azure.json.JsonOptions?alt=com.azure.json.JsonOptions&text=JsonOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.json.JsonOptions.setNonNumericNumbersSupported(boolean)"
|
|
fullName: "com.azure.json.JsonOptions.setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)"
|
|
name: "setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)"
|
|
nameWithType: "JsonOptions.setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)"
|
|
summary: "Sets whether non-numeric numbers such as `NaN` and `INF` and `-INF` are supported."
|
|
parameters:
|
|
- description: "Whether non-numeric numbers are supported."
|
|
name: "nonNumericNumbersSupported"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonOptions setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)"
|
|
desc: "Sets whether non-numeric numbers such as `NaN` and `INF` and `-INF` are supported.\n\nBy default, this is configured to true."
|
|
returns:
|
|
description: "The updated JsonOptions object."
|
|
type: "<xref href=\"com.azure.json.JsonOptions?alt=com.azure.json.JsonOptions&text=JsonOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Contains configuration options for creating a <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> or <xref uid=\"com.azure.json.JsonWriter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonWriter\"></xref>."
|
|
metadata: {}
|
|
package: "com.azure.json"
|
|
artifact: com.azure:azure-json:1.3.0
|