System.JSON.TJSONString Methods
InheritedProtected
AddChar | public | Adds a character to the current JSON string. |
AddDescendant | protected | Declares the method that can be used by the parser to reconstitute the JSON object structure. |
AfterConstruction | public | Responds after the last constructor has executed. |
AsTValue | protected | Fills the specified AValue instance of TValue with the value of this JSON string value, encoded using the specified type. It returns True if the specified type is supported or False otherwise. |
AsType | public | Converts a JSON value to a specific type. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | This method is deprecated. |
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 | Declares the method that should create a deep clone of the current JSON value. |
Create | public | Constructor for the TJSONString class. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | Destroys the TJSONString 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 | |
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 | public | Finds and returns a TJSONValue instance located at the specified APath JSON path. Otherwise, returns nil . |
Format | public | |
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. |
GetDisposed | protected | Getter for the Disposed property. |
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. |
GetValue | public | Finds a TJSONValue object located at the specified APath JSON path, casts this JSON value as the T JSON type and returns this value. Otherwise, returns ADefaultValue . |
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. |
ParseJSONFragment | public | |
ParseJSONValue | public | |
ParseJSONValueUTF8 (deprecated) | public | |
QualifiedClassName | public | Returns the qualified name of the class. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
ToBytes | public | Serializes the current JSON string value into an array of bytes. |
ToChars | public | |
ToJSON | public | Returns the string representation of the JSON object. |
ToString | public | Returns the string representation of the JSON object. |
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 | Returns the string content of the JSON string. |