REST.JsonReflect.TJSONMarshal Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
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. |
ComposeKey | public | The ComposeKey method generates a key which is used in dictionary lookups. |
ComposeTypeName | protected | Returns the fully-qualified name of the class of the specified object. |
Converter | protected | Returns a previously-registered converter for the specified field name of the specified class, or nil if there is no matching converter. |
Create | public | |
DecomposeTypeName | protected | Given a fully-qualified class name, such as those that ComposeTypeName returns, fills UnitName with the unit name and ClassName with the unqualified class name. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | |
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. |
FieldAddress | public | Returns the address of a published object field. |
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. |
GetFieldType | protected | |
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. |
GetTypeConverter | protected | Returns a JSON interceptor for the specified class, RTTI type or RTTI field; it returns nil if JsonReflectAttribute is not an attribute of the specified item. |
HasConverter | protected | Returns True if a converter has been registered for the specified field name of the specified class; it returns False otherwise. |
HasInterceptor | protected | Returns True if JsonReflectAttribute is an attribute of the specified RTTI field; it returns False otherwise. |
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. |
Marshal | public | Returns a serialized representation of the specified object using the converter that you pass to the constructor of TTypeMarshaller. |
MarshalConverter | protected | Marshals the specified field of the specified object. |
MarshalData | protected | Marshals the specified object. |
MarshalTypeConverter | protected | Marshals the specified object using the specified converter. |
MarshalValue | protected | Marshals the specified field 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. |
QualifiedClassName | public | Returns the qualified name of the class. |
RegisterConverter | public | Registers the specified converter event of function or a converter event for the specified combination of class and field name or for the specified class. |
RegisterJSONMarshalled | public | Registers whether a field or type should be marshalled/unmarshalled. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
ShouldMarshal | public | Checks whether or not an object field or type should be marshalled based on the JSONMarshalled registration and attribute. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
UnregisterJSONMarshalled | public | Unregisters whether a field or type should be marshalled/unmarshalled. |