json-help

1.0.0 • Public • Published

json-help

javascript functions for different json related operation which are not build in

methods

var jsonHelp = require('json-help');

  • json merge -- merges two json objects
 
jsonHelp.merge({}, json1 , json2);
 
  • get all keys in json
 
jsonHelp.getKeys(jsonObj);
 
  • convert json to array
 
jsonHelp.toArray(jsonObj);
 
  • validate the json
 
jsonHelp.validate(jsonObj);
 

Package Sidebar

Install

npm i json-help

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • nikhiljain2112