System.JSON.TJSONArray Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
Add public Adds a non-null value to the current element list.
AddDescendant protected Method used by the parser to reconstitute the JSON object structure.
AddElement public Adds a non-null value to the current element list.
AfterConstruction public Responds after the last constructor has executed.
BeforeDestruction public Responds before the first destructor executes.
CheckDisposed protected
ClassInfo public Returns a pointer to the run-time type information (RTTI) table for the object type.
ClassName public Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIs public Determines whether an object is of a specific type.
ClassParent public Returns the type of the immediate ancestor of a class.
ClassType public Returns the class reference for the object's class.
CleanupInstance public Performs finalization on long strings, variants, and interface variables within a class.
Clone public Creates a clone of the TJSONArray instance.
Create public Creates an instance of the TJSONArray class.
DefaultHandler public Provides the interface for a method that processes message records.
Destroy public Destroys the TJSONArray instance.
Dispatch public Calls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOf public DisposeOf forces the execution of the destructor code in an object.
Equals public Checks whether the current instance and the Obj parameter are equal.
EstimatedByteSize public Declares the method that should return the estimated byte size of the current JSON object.
FieldAddress public Returns the address of a published object field.
FindValue protected Finds and returns a TJSONValue instance located at the specified APath JSON path. Otherwise, returns nil.
Free public Destroys an object and frees its associated memory, if necessary.
FreeInstance public Deallocates memory allocated by a previous call to the NewInstance method.
Get (deprecated) public Returns the element at the given index in the JSON array.
GetCount protected Returns the number of JSON values in the current JSON array.
GetDisposed protected Getter for the Disposed property.
GetEnumerator public Returns a JSON array enumerator that you can use to iterate through the JSON values of this JSON array.
GetHashCode public Returns an integer containing the hash code.
GetInterface public Retrieves a specified interface.
GetInterfaceEntry public Returns the entry for a specific interface implemented in a class.
GetInterfaceTable public Returns a pointer to a structure containing all of the interfaces implemented by a given class.
GetOwned public Getter method for the Owned property.
GetValue protected Returns a JSON value having the specified Index in this JSON array.
InheritsFrom public Determines the relationship of two object types.
InitInstance public Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSize public Returns the size in bytes of each instance of the object type.
IsNull protected Returns True if the current JSON object represents a JSON null value.
MethodAddress public Returns the address of a class method by name.
MethodName public Returns the name of a class method by address.
NewInstance public Allocates memory for an instance of an object type and returns a pointer to that new instance.
Pop protected Removes the first element from the JSON array.
QualifiedClassName public Returns the qualified name of the class.
Remove public Removes the item at the given index.
SafeCallException public Handles exceptions in methods declared using the safecall calling convention.
SetElements public Sets the element list.
SetOwned protected The setter method for the Owned property.
Size (deprecated) public Returns the size of the JSON array.
ToBytes public Serializes the current JSON array content into an array of bytes.
ToJSON public Returns the string representation of this JSON object.
ToString public Serializes the current JSON array into a string and returns the resulting string.
TryGetValue public Finds a TJSONValue object located at the specified APath JSON path, casts this JSON value as the T JSON type and fills AValue with the obtained JSON value. Returns True on success or False otherwise.
UnitName public Returns the name of the unit where the class is defined.
UnitScope public Returns the class's unit scope.
Value public Value methods should return the current JSON object as a string.


Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.JSON.TJSONArray_Methods&oldid=614446"