API:System.JSON.TJSONPair.AddDescendant

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddDescendant(const Descendant: TJSONAncestor); override;

C++

virtual void __fastcall AddDescendant(TJSONAncestor* const Descendant);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.JSON.pas
System.JSON.hpp
System.JSON TJSONPair

Description

Declares the method that can be used by the parser to reconstitute the JSON object structure.

System.JSON.TJSONPair.AddDescendant inherits from System.JSON.TJSONAncestor.AddDescendant. All content below this line refers to System.JSON.TJSONAncestor.AddDescendant.

Declares the method that can be used by the parser to reconstitute the JSON object structure.

Descendants of TJSONAncestor implementing AddDescendant, for example TJSONPair, define AddDescendant as a method used by the parser to reconstitute the JSON object structure.

The TJSONAncestor object given through the Descendent parameter represents the descendant to be added in the JSON object structure.

Parsing the JSON object structure is achieved using the Parse and ParseJSONValue methods.

See Also