project-can-json
v1.0.1
Published
verify is json and return json data if success of empty json data if failure
Downloads
33
Readme
PROJECT can JSON
Installation
npm i project-can-json
Usage
In Node.js:
const canJSON = require('project-can-json')
Using npm:
import canJSON from 'project-can-json';
canJSON(json_string, (json) => {
//SUCCESS
}, (json_string) => {
//REJECT
});