System.JSON.TJSONArray.AddElement

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddElement(const Element: TJSONValue); inline;

C++

void __fastcall AddElement(TJSONValue* const Element);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONArray

Description

Adds a non-null value to the current element list.

Call AddElement to add the TJSONValue given through the Element parameter to the current element list of the JSON array.

Note: The value given through the Element parameter cannot be null.

See Also