System.JSON.TJSONObject.ParseJSONValueUTF8

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ParseJSONValueUTF8(const Data: TArray<Byte>; const Offset: Integer;  const ACount: Integer): TJSONValue; overload; static; deprecated 'Use ParseJSONValue';
class function ParseJSONValueUTF8(const Data: TArray<Byte>;  const Offset: Integer): TJSONValue; overload; static; deprecated 'Use ParseJSONValue';

C++

static TJSONValue* __fastcall ParseJSONValueUTF8 _DEPRECATED_ATTRIBUTE1("Use ParseJSONValue") (const System::DynamicArray<System::Byte> Data, const int Offset, const int ACount)/* overload */;
static TJSONValue* __fastcall ParseJSONValueUTF8 _DEPRECATED_ATTRIBUTE1("Use ParseJSONValue") (const System::DynamicArray<System::Byte> Data, const int Offset)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONObject

Description

Warning: ParseJSONValueUTF8 is deprecated. Please use ParseJSONValue.

Parses a byte array and returns the corresponding JSON value from it.

ParseJSONValueUTF8 parses the non-null byte array given through the Data parameter, starting at the offset given by the Offset parameter.

ParseJSONValueUTF8 returns the JSON value corresponding to the parsed data, or null if the parsing fails.

Warning: This method is deprecated. Use ParseJSONValue instead.

See Also