REST.Json.TJsonOption
Delphi
TJsonOption = (joIgnoreEmptyStrings, joIgnoreEmptyArrays,
joDateIsUTC, joDateFormatUnix, joDateFormatISO8601, joDateFormatMongo, joDateFormatParse,
joBytesFormatArray, joBytesFormatBase64,
joIndentCaseCamel, joIndentCaseLower, joIndentCaseUpper, joIndentCasePreserve);
C++
enum DECLSPEC_DENUM TJsonOption : unsigned char { joIgnoreEmptyStrings, joIgnoreEmptyArrays, joDateIsUTC, joDateFormatUnix, joDateFormatISO8601, joDateFormatMongo, joDateFormatParse, joBytesFormatArray, joBytesFormatBase64, joIndentCaseCamel, joIndentCaseLower, joIndentCaseUpper, joIndentCasePreserve };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | REST.Json.pas REST.Json.hpp |
REST.Json | REST.Json |
Description
Specifies the format options.
Option | Description |
---|---|
|
Date format as specified in the ISO 8601 standard. For example: |
|
Date format as specified in MongoDB Extended JSON. For example: |
|
Date format as specified in the Unix time. For example: |
|
Time format as specified in the UTC time standard. |
|
Format that ignores key-value pairs when the value of a pair is an empty JSON array. For example, for the following pairs: |
|
Format that ignores key-value pairs when the value of a pair is an empty string. For example, for the following pairs: |
|
Key name format where the first character is lower-cased and the rest preserves the format. For example, for the following pair: |
|
Key name format, where all characters are lower-cased. For example, for the following pair: |
|
Key name format, where all characters are upper-cased. For example, for the following pair: |
|
Key name format, where characters case is preserved. |
|
Key name format where the first character is lower-cased and the rest preserves the format. For example, for the following pair: |
|
Key name format, where all characters are lower-cased. For example, for the following pair: |
|
Key name format, where all characters are upper-cased. For example, for the following pair: |
|
Key name format, where characters case is preserved. |