Skip to content

Javascript function which recursively parses stringified json

License

Notifications You must be signed in to change notification settings

sibu-github/deep-parse-json

Repository files navigation

deep-parse-json

Recursively parses a stringified json and returns javascript object

Usage

  npm install --save deep-parse-json
  or
  yarn add deep-parse-json
  const { deepParseJson } = require('deep-parse-json')
  const stringified = '{"personList":"[{\\"name\\":\\"siba\\"},{\\"name\\":\\"bhaskar\\"}]"}'
  console.log(deepParseJson(stringified))
  // { personList: [ { name: 'siba' }, { name: 'bhaskar' } ] }

About

Javascript function which recursively parses stringified json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •