System.JSON.Builders.TJSONCollectionBuilder.DoGetReader
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
- System.JSON.Writers.TJsonWriter
- System.JSON.Readers.TJsonReader
- System.JSON.Builders.TJSONCollectionBuilder.AsJSON
- System.JSON.Builders.TJSONCollectionBuilder.TPairs.AddPairs
- System.JSON.Builders.TJSONCollectionBuilder.TParentCollection.AddPairs
- System.JSON.Builders.TJSONCollectionBuilder.TElements.AddElements
- System.JSON.Builders.TJSONCollectionBuilder.TParentCollection.AddElements