XDTOFactory.ReadJSON
Syntax:
Parameters:
<JSONReader> (required)
JSON reader object.
<Type> (optional)
XDTO data item type. If the type is not specified, the data type is defined by the current state of the JSONReader.
<ReviverFunctionName> (optional)
Value restoration function name.
The function must have the following parameters:
- <Property> - a value of the String type,
- <Type> - a value of the XDTOObjectType type,
- <Value> - a value of the type allowed for serialization,
- <AdditionalParameters>.
Default value: Undefined.
<ReviverFunctionModule> (optional)
Specifies the module, the procedure of which will be used for value restoration. The proper method will be called depending on the type of the parameter:
- ManagedForm - the method of the module of the specified manageable form will be called.
- CommandInterfaceCommand - the method of the command module of the command interface will be called.
- CommonModule - the method of the shared nonglobal module will be called.
Default value: Undefined.
<ReviverFunctionAdditionalParameters> (optional)
Additional parameters for the value recovery function.
Default value: Undefined.
<TypesToRevive> (optional)
Array of XDTOObjectType objects that correspond to XDTO types for which the recovery function needs to be called.
If the recovery function has not been specified, the TypesToRevive and PropertiesToReviveNames parameters are ignored.
<PropertiesToReviveNames> (optional)
Property names that require calling a recovery function.
If the recovery function has not been specified, the TypesToRevive and PropertiesToReviveNames parameters are ignored.
Description:
Availability:
Note: