TTMSFNCDataGridData.LoadFromJSONStreamData Method
Loads JSON from a stream with encoding; ARowDataName/AColumnDataName map JSON keys to grid rows and columns.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Loads JSON from a stream with encoding; ARowDataName/AColumnDataName map JSON keys to grid rows and columns.
procedure LoadFromJSONStreamData(AStream: TStream; AEncoding: TEncoding; ARowDataName: string = ''; AColumnDataName: string = ''; AColumnNames: TTMSFNCDataGridDataJSONNamesArray = nil ); overload; virtual;
Parameters
| Name | Description |
|---|---|
AStream |
Stream used to read or write data. |
AEncoding |
Argument used by the operation. |
ARowDataName |
Zero-based row index used by the operation. |
AColumnDataName |
Zero-based column index used by the operation. |
AColumnNames |
Zero-based column index used by the operation. |
Overload 2
Loads JSON from a stream; ARowDataName/AColumnDataName map JSON keys to grid rows and columns.
procedure LoadFromJSONStreamData(AStream: TStream; ARowDataName: string = ''; AColumnDataName: string = ''; AColumnNames: TTMSFNCDataGridDataJSONNamesArray = nil ); overload; virtual;
Parameters
| Name | Description |
|---|---|
AStream |
Stream used to read or write data. |
ARowDataName |
Zero-based row index used by the operation. |
AColumnDataName |
Zero-based column index used by the operation. |
AColumnNames |
Zero-based column index used by the operation. |