Class.fromJSON Method

A static method to create a class instance from the specified JSON. The property __classType is used to determine the type.
 
 
Static This method is static.

Parameters

json

Type: String
The JSON string specifying the object.

Return Value


Type: Object - May be null
An instance of an object type inheriting from Class; or null if the JSON is malformed or if _classType does not refer to a defined class.