Rebuilds an Object from its stringify'd string representation. Handles custom single key:value type definitions automatically.
stringify
The string to parse
Optional
Optional function to handle reconstructing undefined/void values
The deserialized object or original string if parsing fails
const obj = objectify('{"$BigInt":"123"}'); // 123n Copy
const obj = objectify('{"$BigInt":"123"}'); // 123n
Rebuilds an Object from its
stringify'd string representation. Handles custom single key:value type definitions automatically.