JsonOptions Class
- java.
lang. Object - com.
azure. json. JsonOptions
- com.
public final class JsonOptions
Contains configuration options for creating a JsonReader or JsonWriter.
Constructor Summary
Constructor | Description |
---|---|
JsonOptions() |
Creates an instance of JsonOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isNonNumericNumbersSupported()
Whether non-numeric numbers such as |
Json |
setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)
Sets whether non-numeric numbers such as |
Methods inherited from java.lang.Object
Constructor Details
JsonOptions
public JsonOptions()
Creates an instance of JsonOptions.
Method Details
isNonNumericNumbersSupported
public boolean isNonNumericNumbersSupported()
Whether non-numeric numbers such as NaN
and INF
and -INF
are supported.
By default, this is configured to true.
Returns:
setNonNumericNumbersSupported
public JsonOptions setNonNumericNumbersSupported(boolean nonNumericNumbersSupported)
Sets whether non-numeric numbers such as NaN
and INF
and -INF
are supported.
By default, this is configured to true.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for