1 contributor
Like
Install json-validator as a package?
Copied
npm i @bit/amit.json.global.json-validator
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
global/jsonValidator (
str:
) string
Validate json string
Example
Argument
str:
string
Returns
promise
Test Summary
validate json string validate proper json str | Pass |
validate json string when sending number should get exception | Pass |
validate json string when sending broken json should get exception | Pass |