SDAC

TMemDataSet.SaveToJSON Method

Saves the current dataset data to a stream in the JSON format.

Class

TMemDataSet

Syntax

procedure SaveToJSON(Destination: TStream; Options: TJsonOptions = []); overload;

Parameters
Destination
Holds a TStream object.
Options
Holds additional options used when saving the dataset. See TJsonOptions for details. By default, no additional options are set.

Remarks

Call the SaveToJSON method to save the current dataset data to a stream in the JSON format. A TStream object must be created and its position must be set in a preferable value.

See Also

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