Skip to content
Cutie extension for JSON in js.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fs
src
test
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
build.js
index.js
package-lock.json
package.json
test.js

README.md

cutie-json

NPM Version Build Status codecov

Cutie extension for JSON in js. It's based on the Async Tree Pattern.

Examples

You can find examples of using this library in the test directory.

Install

npm install @cuties/json

Run test

npm test

Run build

npm run build

Usage

const {
  // Here needed async objects from the table below
} = require('@cuties/json');

For more information about parameters in the async objects visit docs.

Async Object Async/sync call Parameters(default value/description) Representation result
ParsedJSON JSON.parse string json
PrettyStringifiedJSON sync call from json-stringify-pretty-compact module json string
StringifiedJSON JSON.stringify json string
Value eval('json' + '.' + path) json, path value
You can’t perform that action at this time.