@buddyshift/validatejson
v1.0.6
Published
This is used to validate a json or object.
Downloads
29
Maintainers
Readme
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.