Skip to main content

Function: parse()

parse(value): any

Defined in: index.ts:56

Restore value from JSON string.

Inverse of stringify(). Reconstructs all types including cycles and aliases.

This is a convenience wrapper around JSON.parse() + postprocess().

All reconstruction operations are synchronous.

Parameters

value

string

JSON string in tuple $lmz format

Returns

any

Restored value with all types and references preserved