System.JSON.Builders.TJSONCollectionBuilder

提供:RAD Studio API Documentation

TJSONCollectionBuilderSystem.TObject

Delphi

TJSONCollectionBuilder = class abstract

C++

class PASCALIMPLEMENTATION TJSONCollectionBuilder : public System::TObject

プロパティ

種類 可視性 ソース ユニット 親
class public
System.JSON.Builders.pas
System.JSON.Builders.hpp
System.JSON.Builders System.JSON.Builders


説明

TJsonWriter クラスのラッパーで、JSON データをシリアライズするためのロジックを提供します。

TJSONCollectionBuilder クラスを使用すると、JSON 配列かオブジェクトを作成します。TJSONCollectionBuilder は、JSON データを記述するフルーエント インターフェイスを提供します。

BeginObject を呼び出すと、JSON オブジェクトを開始します。BeginObject は、メソッド チェーンの TPairs を返します。

「JSON オブジェクトを TJSONCollectionBuilder で書き込む方法」を参照してください。

関連項目