deep-parse-json
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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' } ] }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.09,970latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.09,970
1.0.25,327
1.0.192
1.0.00

Package Sidebar

Install

npm i deep-parse-json

Weekly Downloads

15,389

Version

2.0.0

License

ISC

Unpacked Size

28.9 kB

Total Files

7

Last publish

Collaborators

  • sibumaiti