Data.DBXJSONCommon.TDBXJSONTools.DBXToJSON
Delphi
class function DBXToJSON(const Value: TDBXValue; const DataType: Integer; const IsLocalConnection: Boolean): TJSONValue; static;
C++
static System::Json::TJSONValue* __fastcall DBXToJSON(Data::Dbxcommon::TDBXValue* const Value, const int DataType, const bool IsLocalConnection);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DBXJSONCommon.pas Data.DBXJSONCommon.hpp |
Data.DBXJSONCommon | TDBXJSONTools |
Description
Creates a JSON representation of a DBX value.
The DBXToJSON method converts a JSON object to a DBX value.
The following table lists the parameters of the JSONToDBX method.
| Parameter | Meaning |
|---|---|
|
Data |
JSON value; never null |
|
Value |
DBX value container |
|
DataType |
DBX expected type |