API:System.JSON.Builders.TJSONObjectBuilder

From RAD Studio API Documentation
Jump to: navigation, search

System.JSON.Builders.TJSONCollectionBuilderSystem.TObjectTJSONObjectBuilder

Delphi

TJSONObjectBuilder = class(TJSONCollectionBuilder)

C++

class PASCALIMPLEMENTATION TJSONObjectBuilder : public TJSONCollectionBuilder

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.

System.JSON.Builders.TJSONObjectBuilder inherits from System.JSON.Builders.TJSONCollectionBuilder. All content below this line refers to System.JSON.Builders.TJSONCollectionBuilder.

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.

See Also