The static class that handles JSON with object information.
Name | Type | Description |
---|---|---|
maxDepth |
Number | [static] The maximum depth of objects(default:100) |
Name | Type | Description |
---|---|---|
value |
Object | |
circular |
Array | |
registry |
Object |
Name | Type | Description |
---|---|---|
value |
Object | |
circular |
Array | |
depth |
Number |
Name | Type | Description |
---|---|---|
value |
Object |
Name | Type | Description |
---|---|---|
value |
Object | |
prototype |
Object |
Makes a deep copy of the specified object.
Name | Type | Description |
---|---|---|
object |
Object | The object to be copied |
The copied object
Parses a JSON string and reconstructs the corresponding object.
Name | Type | Description |
---|---|---|
json |
String | The JSON string |
The reconstructed object
Converts an object to a JSON string with object information.
Name | Type | Description |
---|---|---|
object |
Object | The object to be converted |
The JSON string
Documentation generated by JSDoc 3.5.5