Datasnap.DSHTTPCommon.TDSServiceResponseHandler.ByteContent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Unit: Datasnap.DSHTTPCommon
Parent: TDSServiceResponseHandler

Delphi

function ByteContent(JsonValue: TJSONValue): TArray<Byte>; virtual;

C++

virtual System::DynamicArray<System::Byte> __fastcall ByteContent(System::Json::TJSONValue* JsonValue);

Description

Converts the given JSON value to TBytes.

The ByteContent virtual method is used to convert the given JSON value to its TBytes representation.

See Also