Data.DBXCommon.TDBXJSONValue.CreateJSONValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXJSONValue

Delphi

function CreateJSONValue(const Data: TArray<Byte>; const Off: Integer; const Count: Integer): TJSONValue; virtual;

C++

virtual System::Json::TJSONValue* __fastcall CreateJSONValue(const System::DynamicArray<System::Byte> Data, const int Off, const int Count);

Description

Updates the value of this TDBXJSONValue to a specified value from the row buffer.

Data represents the byte stream that describes the JSON value. Off represents the offset of the JSON value. Count represents the serialized size of the JSON value.

CreateJSONValue raises a TDBXError if the parsing of the JSON value fails.

See Also