AbstractStaticparseConverts a JavaScript Object Notation (JSON) string into an object.
A valid JSON string.
Optionalreviver: (this: any, key: string, value: unknown) => unknownA function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
The parsed object.
StaticstringifyConverts a JavaScript value to a JavaScript Object Notation (JSON) string.
A JavaScript value, usually an object or array, to be converted.
Optionalreplacer: (this: any, key: string, value: unknown) => unknownA function that transforms the results.
Optionalspace: string | numberAdds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
A json string.
Utilities for handling json.