System.JSON.Builders.TJSONCollectionBuilder.TParentCollection.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(const AValue: string): TElements; overload; inline;
function Add(const AValue: Int32): TElements; overload; inline;
function Add(const AValue: UInt32): TElements; overload; inline;
function Add(const AValue: Int64): TElements; overload; inline;
function Add(const AValue: UInt64): TElements; overload; inline;
function Add(const AValue: Single): TElements; overload; inline;
function Add(const AValue: Double): TElements; overload; inline;
function Add(const AValue: Extended): TElements; overload; inline;
function Add(const AValue: Boolean): TElements; overload; inline;
function Add(const AValue: Char): TElements; overload; inline;
function Add(const AValue: Byte): TElements; overload; inline;
function Add(const AValue: TDateTime): TElements; overload; inline;
function Add(const AValue: TGUID): TElements; overload; inline;
function Add(const AValue: TBytes;  ABinaryType: TJsonBinaryType = TJsonBinaryType.Generic): TElements; overload; inline;
function Add(const AValue: TJsonOid): TElements; overload; inline;
function Add(const AValue: TJsonRegEx): TElements; overload; inline;
function Add(const AValue: TJsonDBRef): TElements; overload;
function Add(const AValue: TJsonCodeWScope): TElements; overload;
function Add(const AValue: TValue): TElements; overload; inline;
function Add(const AValue: TVarRec): TElements; overload; inline;
function Add(const AValue: Variant): TElements; overload; inline;
function Add(const AKey: string; const AValue: string): TPairs; overload; inline;
function Add(const AKey: string; const AValue: Int32): TPairs; overload; inline;
function Add(const AKey: string; const AValue: UInt32): TPairs; overload; inline;
function Add(const AKey: string; const AValue: Int64): TPairs; overload; inline;
function Add(const AKey: string; const AValue: UInt64): TPairs; overload; inline;
function Add(const AKey: string; const AValue: Single): TPairs; overload; inline;
function Add(const AKey: string; const AValue: Double): TPairs; overload; inline;
function Add(const AKey: string; AValue: Extended): TPairs; overload; inline;
function Add(const AKey: string; AValue: Boolean): TPairs; overload; inline;
function Add(const AKey: string; AValue: Char): TPairs; overload; inline;
function Add(const AKey: string; AValue: Byte): TPairs; overload; inline;
function Add(const AKey: string; AValue: TDateTime): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TGUID): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TBytes;  ABinaryType: TJsonBinaryType = TJsonBinaryType.Generic): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TJsonOid): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TJsonRegEx): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TJsonDBRef): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TJsonCodeWScope): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TValue): TPairs; overload; inline;
function Add(const AKey: string; const AValue: TVarRec): TPairs; overload; inline;
function Add(const AKey: string; const AValue: Variant): TPairs; overload; inline;

C++

HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::UnicodeString AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const int AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const unsigned AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const unsigned __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const float AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const double AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Extended AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const bool AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::WideChar AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Byte AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::TDateTime AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const GUID &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::DynamicArray<System::Byte> AValue, System::Json::Types::TJsonBinaryType ABinaryType = (System::Json::Types::TJsonBinaryType)(0x0))/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonOid &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonRegEx &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonDBRef &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonCodeWScope &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Rtti::TValue &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::TVarRec &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Variant &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::UnicodeString AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const int AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const unsigned AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const unsigned __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const float AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const double AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, System::Extended AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, bool AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, System::WideChar AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, System::Byte AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, System::TDateTime AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const GUID &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::DynamicArray<System::Byte> AValue, System::Json::Types::TJsonBinaryType ABinaryType = (System::Json::Types::TJsonBinaryType)(0x0))/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Json::Types::TJsonOid &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Json::Types::TJsonRegEx &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Json::Types::TJsonDBRef &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Json::Types::TJsonCodeWScope &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Rtti::TValue &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::TVarRec &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TPairs* __fastcall Add(const System::UnicodeString AKey, const System::Variant &AValue)/* overload */;

Properties

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

Description

Adds the specified key-value pair to the JSON object or the specified value to the JSON array, and returns this instance of TParentCollection for method chaining.

See Also