JsonEx Class
The static class that handles JSON with object information.
Methods
makeDeepCopy ( object ) Object [static]
Makes a deep copy of the specified object.
Parameters:
-
object
ObjectThe object to be copied
Returns:
Object:
The copied object
parse ( json ) Object [static]
Parses a JSON string and reconstructs the corresponding object.
Parameters:
-
json
StringThe JSON string
Returns:
Object:
The reconstructed object
stringify ( object ) String [static]
Converts an object to a JSON string with object information.
Parameters:
-
object
ObjectThe object to be converted
Returns:
String:
The JSON string
Properties
maxDepth Number [static]
The maximum depth of objects.
Default: 100