Namespace: JsonEx

JsonEx

The static class that handles JSON with object information.

Members

JsonEx.maxDepthnumberstatic

The maximum depth of objects
Default Value:
  • 100

Methods

JsonEx.makeDeepCopy(object)objectstatic

Makes a deep copy of the specified object
NameTypeDescription
objectobjectThe object to be copied
Returns:
TypeDescription
objectThe copied object

JsonEx.parse(json)objectstatic

Parses a JSON string and reconstructs the corresponding object
NameTypeDescription
jsonstringThe JSON string
Returns:
TypeDescription
objectThe reconstructed object

JsonEx.stringify(object)stringstatic

Converts an object to a JSON string with object information
NameTypeDescription
objectobjectThe object to be converted
Returns:
TypeDescription
stringThe converted JSON string