0.0.3 • Published 7 years ago

gali-json-parse v0.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Invalid JSON Parser

JSON parser for parsing invalid JSON into valid JSON file.
It will look for special character such as '${......}' combinations and parse it to valid JSON file.
After parsing the JSON, We can do normal JavaScript operations and convert the file back to it's original format with modified keys.

Installation

npm install @gali/json-parser

Usage

var parser = require('@gali/json-parser');

var json = parser('./file.json');  
Output should be the parsed JSON file.
Example input structure is listed in src/index.json

Tests

npm test

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago