Skip to content

Instantly share code, notes, and snippets.

@joshi-kumar
Created February 17, 2018 11:45
Show Gist options
  • Save joshi-kumar/ad7ec9350f09f0f4cc6db1f6a8ed845e to your computer and use it in GitHub Desktop.
Save joshi-kumar/ad7ec9350f09f0f4cc6db1f6a8ed845e to your computer and use it in GitHub Desktop.
Json parse and stringify
json stringify vs parse
Defi : JSON.parse() is for "parsing" something that was received as JSON. JSON.stringify() is to create a JSON string out of an object/array. They are the inverse of each other. JSON.stringify() serializes a JS object into a JSON string, whereas JSON.parse() will deserialize a JSON string into a JS object.Jul 22, 2013
https://stackoverflow.com/questions/17785592/difference-between-json-stringify-and-json-parse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment