deep-parse-json

Recursively parses a stringified json and returns javascript object

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
deep-parse-json
1522.0.04 months ago6 years agoMinified + gzip package size for deep-parse-json in KB

Readme

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