Class JsonOutputOptions
Represents options passed to ToJsonString(JsonOutputOptions) and
SerializeAsJson(Utf8JsonWriter, JsonOutputOptions).
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class JsonOutputOptions : Object
Remarks
These options allow you to customize how FieldValue
instances are represented in JSON. For properties not specified or
null
, appropriate defaults will be used as indicated below.
Constructors
Name | Description |
---|---|
JsonOutputOptions() |
Fields
Name | Description |
---|---|
DefaultDateTimeFormatString | Default date and time format string used to represent DateTime values in JSON. |
Properties
Name | Description |
---|---|
DateTimeAsMillis | Gets or sets a value indicating whether to output DateTime values as a number of milliseconds since the Unix Epoch. |
DateTimeFormatString | Gets or sets a date and time format string to represent DateTime values in JSON. |
Indented | Gets or sets a value indicating whether the JSON output should be formatted. |