Saves the current dataset data to a file in the JSON format.
procedure SaveToJSON(const FileName: string; Options: TJsonOptions = []); overload;
Call the SaveToJSON method to save the current dataset data to a file in the JSON format.
If the destination file already exists, it is overwritten. It remains open from the first call to SaveToJSON until the dataset is closed. Other applications can read this file while it is open, but they cannot write to it.