TMS FNC Core installed and the RTL runtime package added to the project.
Load JSON into a data-aware control
var
DS: TTMSFNCDataSet;
Link: TTMSFNCDataLinkJSON;
begin
DS := TTMSFNCDataSet.Create(nil);
Link := TTMSFNCDataLinkJSON.Create(nil);
try
Link.DataSet := DS;
Link.JSONString := '[ {"Name":"Alice","Age":30}, {"Name":"Bob","Age":25} ]';
Link.Load;
DS.Open;
// DS is now a live TDataSet — connect via TDataSource as normal
DataSource1.DataSet := DS;
finally
// ownership assumed by form or caller
end;
end;