System.JSON.TJSONObject.ParseJSONValue

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function ParseJSONValue(const Data: PByte; const Offset: Integer; const ALength: Integer; Options: TJSONParseOptions): TJSONValue; overload; static;
class function ParseJSONValue(const Data: TArray<Byte>; const Offset: Integer; IsUTF8: Boolean = True): TJSONValue; overload; inline; static;
class function ParseJSONValue(const Data: TArray<Byte>; const Offset: Integer; Options: TJSONParseOptions): TJSONValue; overload; inline; static;
class function ParseJSONValue(const Data: TArray<Byte>; const Offset: Integer; const ALength: Integer; IsUTF8: Boolean = True): TJSONValue; overload; inline; static;
class function ParseJSONValue(const Data: TArray<Byte>; const Offset: Integer; const ALength: Integer; Options: TJSONParseOptions): TJSONValue; overload; inline; static;
class function ParseJSONValue(const Data: string; UseBool: Boolean = False; RaiseExc: Boolean = False): TJSONValue; overload; static;
class function ParseJSONValue(const Data: UTF8String; UseBool: Boolean = False; RaiseExc: Boolean = False): TJSONValue; overload; static;

C++

static TJSONValue* __fastcall ParseJSONValue(const System::PByte Data, const int Offset, const int ALength, TJSONParseOptions Options)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::DynamicArray<System::Byte> Data, const int Offset, bool IsUTF8 = true)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::DynamicArray<System::Byte> Data, const int Offset, TJSONParseOptions Options)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::DynamicArray<System::Byte> Data, const int Offset, const int ALength, bool IsUTF8 = true)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::DynamicArray<System::Byte> Data, const int Offset, const int ALength, TJSONParseOptions Options)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::UnicodeString Data, bool UseBool = false, bool RaiseExc = false)/* overload */;
static TJSONValue* __fastcall ParseJSONValue(const System::UTF8String Data, bool UseBool = false, bool RaiseExc = false)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONObject


説明

null でないバイト配列を解析し、解析したデータに対応する JSON 値を返します。解析に失敗した場合は null を返します。

ParseJSONValue は次のパラメータを受け取ります。

関連項目