uses DataSetConverter4D, DataSetConverter4D.Impl; var ja: TJSONArray; jo: TJSONObject; begin fCdsCustomers.DataSetField := nil; fCdsCustomers.CreateDataSet; fCdsCustomers.Append; fCdsCustomers.FieldByName('Id').AsInteger := 1; fCdsCustomers.FieldByName('Name').AsString := 'Customers 1'; ...
Export child DataSet as JSON object (when you have only 1 record) TDataSetSerializeConfig.GetInstance.Export.ExportChildDataSetAsJsonObject := False; Export Largeint as string TDataSetSerializeConfig.GetInstance.Export.ExportLargeIntAsString := False; ...
DataSet Serialize for Delphi and Lazarus (FPC) DataSet Serialize is a set of features to make working with JSON and DataSet simple. It has features such as exporting or importing records into a DataSet, validate if JSON has all required attributes (previously entered in the DataSet), exporting...