1.1.1 • Published 6 years ago

@cuties/json v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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 ObjectAsync/sync callParameters(default value/description)Representation result
ParsedJSONJSON.parsestringjson
PrettyStringifiedJSONsync call from json-stringify-pretty-compact modulejsonstring
StringifiedJSONJSON.stringifyjsonstring
Valueeval('json' + '.' + path)json, pathvalue