System.JSON.Builders.TJSONCollectionBuilder.DoGetReader

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetReader(AWriter: TJsonWriter): TJsonReader; virtual;

C++

virtual System::Json::Readers::TJsonReader* __fastcall DoGetReader(System::Json::Writers::TJsonWriter* AWriter);

Properties

Type Visibility Source Unit Parent
function protected
System.JSON.Builders.pas
System.JSON.Builders.hpp
System.JSON.Builders TJSONCollectionBuilder

Description

Override DoGetReader to provide a JSON reader.

Override the DoGetReader method to provide a JSON reader for the current builder JSON writer as part of AsJSON, AddPairs, and AddElements method calls.

DoGetReader raises a EJSONCollectionBuilderError exception if no TGetReaderProc was assigned at creation.

See Also