@buddyshift/validatejson

1.0.6 • Public • Published

This Module is use to Validate the json object. You can pass the object and a json in validateJson function and it will return you the boolen, If the json or object is valid then it will return you true and if it is not then it will return you false.

Download the module and validate the json or object.

npm i @buddyshift/validatejson

Example

const validateFunc = require("@buddyshift/validatejson");

const response = validateFunc.validate({"a":123})

call validate function to validate the json or object.

Note: Always use lastest module.

Package Sidebar

Install

npm i @buddyshift/validatejson

Weekly Downloads

5

Version

1.0.6

License

ISC

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • rohit22