[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class of TJSONObject
Source position: fpjson.pp line 604
type TJSONObject = class(TJSONData) |
||
public |
||
constructor Create(); |
|
Create a new instance of JSON object data. |
destructor Destroy; override; |
|
Free the JSON object |
class function JSONType; override; |
|
native JSON data type |
property UnquotedMemberNames: Boolean; [rw] |
|
Should member names be written unquoted or quoted in JSON |
function Clone; override; |
|
Clone the JSON object |
function GetEnumerator; override; |
|
Get an object enumerator |
procedure Iterate(); |
|
Iterate over all elements in the object |
function IndexOf(); |
|
Return index of JSONData instance in object |
function IndexOfName(); |
|
Return index of name in item list |
function Find(); |
|
Find an element by name. |
function Get(); |
|
Retrieve a value by name |
procedure Clear; override; |
|
Clear the object |
function Add(); |
|
Add a name, value to the object |
procedure Delete(); |
|
Delete an element from the list by index |
procedure Remove(); |
|
Remove item by instance |
function Extract(); |
|
Extract an element from the object |
property Names []: TJSONStringType; [r] |
|
Indexed access to the names of elements. |
|
Name-based access to JSON values in the object. |
|
|
Types of values in the object. |
|
property Nulls []: Boolean; [rw] |
|
Named access to null values |
property Floats []: TJSONFloat; [rw] |
|
Named access to float values |
|
Named access to integer values |
|
|
Named access to int64 values |
|
|
Named access to QWord values |
|
property LargeInts []: TJSONLargeInt; [rw] |
|
Get or set elements as LargeInt values |
property UnicodeStrings []: TJSONUnicodeStringType; [rw] |
|
Named access to Unicode string values |
property Strings []: TJSONStringType; [rw] |
|
Named access to string values |
property Booleans []: Boolean; [rw] |
|
Named access to boolean values |
property Arrays []: TJSONArray; [rw] |
|
Named access to JSON array values |
property Objects []: TJSONObject; [rw] |
|
Named access to JSON object values |
end; |
|
Class of TJSONObject |
|
| | ||
|
Base (abstract) object for all JSON based data types |
|
| | ||
TJSONObjectClass is the class type of TJSONObject. It is used in the factory methods.
|
Class of TJSONObject |
|
|
JSON factory: Set the JSONData class types to use |
|
|
JSON factory: Get the JSONData class types to use |