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
- TJsonOptions
- M:Devart.VirtualDac.TVirtualTable.LoadFromFile(System.String,System.Boolean,System.Boolean)
- M:Devart.VirtualDac.TVirtualTable.LoadFromStream(Borland.Vcl.TStream,System.Boolean,System.Boolean)