Saves the current dataset data to a stream in the JSON format.
procedure SaveToJSON(Destination: TStream; Options: TJsonOptions = []); overload;
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.