JavaScript JSON and toJSON Methods
The JSON.stringify syntax used so far is:
JSON.stringify(value)
The general syntax actually is:
JSON.stringify(value[, replacer, space])
replacer and space are optional.
replacer
The replacer is an array of properties to encode or a mapping functi...
techstack.hashnode.dev4 min read