MyDAC

TJsonOption Enumeration

Additional options used when saving the dataset to the JSON format.

Unit

MemDS

Syntax

TJsonOption = (joDataOnly, joDataAsArray, joIncludeNulls);

Values

Value Meaning
joDataAsArray When the option is set, each row of the dataset is saved as a JSON array. Otherwise (by default), each row of the dataset is saved as a JSON object.
joDataOnly When the option is set, only the dataset rows are saved to JSON. By default, information about the dataset structure is also saved to JSON.
joIncludeNulls When the option is set, fields with NULL values are saved to JSON. Otherwise (by default), NULL fields are excluded from JSON.

See Also

© 1997-2025 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback