Data.DBXJSONCommon.TDBXJSONTools.TableToJSON

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function TableToJSON(var Value: TDBXReader; const RowCount: Integer; const IsLocalConnection: Boolean): TJSONObject; static;

C++

static System::Json::TJSONObject* __fastcall TableToJSON(Data::Dbxcommon::TDBXReader* &Value, const int RowCount, const bool IsLocalConnection);

Properties

Type Visibility Source Unit Parent
function public
Data.DBXJSONCommon.pas
Data.DBXJSONCommon.hpp
Data.DBXJSONCommon TDBXJSONTools

Description

Creates a JSON equivalent to a DBX table.

The TableToJSON method creates a JSON equivalent to a DBX table. The result is suitable for asynchronous calls and should not be used for large tables. If the table is expected to be large, we recommend the use of Data Converters. The Value parameter represents the TDBXReader object and is never null. IsLocalConnection specifies whether the connection is in-process and dictates the memory ownership policy.

See Also