Data.DBJson.TJSONToDataSetBridge.Define

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Define(AIter: TJSONIterator); overload;
procedure Define(AReader: TJSONReader); overload;
procedure Define(AJSON: TJSONValue); overload;

C++

void __fastcall Define(System::Json::Builders::TJSONIterator* AIter)/* overload */;
void __fastcall Define(System::Json::Readers::TJsonReader* AReader)/* overload */;
void __fastcall Define(System::Json::TJSONValue* AJSON)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DBJson.pas
Data.DBJson.hpp
Data.DBJson TJSONToDataSetBridge

Description

  • AIter: TJSONIterator - Defines FieldDefs using JSON value of the current TJSONIterator level.

This method normally is used with JSON object, where a dataset field will represent each element of an object. Multiple calls of Define depending on MetaMergeMode can lead to more precise definitions of FieldDefs.

  • AReader: TJSONReader - Defines FieldDefs using JSON value of the current TJSONReader level.

This method normally is used with JSON array of JSON objects. It will call Define(AIter) for each array item up to SampleObjects array items.

  • AValue: TJSONValue - Defines FieldDefs using TJSONValue.

This method normally is used with JSON array of JSON objects. It will call Define(AIter) for each array item up to SampleObjects array items.

See Also