System.JSON.Builders.TJSONCollectionBuilder
Delphi
TJSONCollectionBuilder = class abstract
C++
class PASCALIMPLEMENTATION TJSONCollectionBuilder : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.JSON.Builders.pas System.JSON.Builders.hpp |
System.JSON.Builders | System.JSON.Builders |
Description
Wrapper of the TJsonWriter class that provides logic to serialize JSON data.
Use the TJSONCollectionBuilder class to create a JSON array or object. TJSONCollectionBuilder provides a fluent interface for writing JSON data.
Call BeginObject to start the JSON object. BeginObject returns a TPairs for method chaining.
See how to write JSON objects with TJSONCollectionBuilder.