Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alisonmonteiro/is-json-valid
Determine if a value is a valid JSON
https://github.com/alisonmonteiro/is-json-valid
browser js json nodejs test validate
Last synced: about 1 month ago
JSON representation
Determine if a value is a valid JSON
- Host: GitHub
- URL: https://github.com/alisonmonteiro/is-json-valid
- Owner: alisonmonteiro
- License: mit
- Created: 2019-06-24T22:32:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T04:38:48.000Z (over 1 year ago)
- Last Synced: 2024-09-16T03:50:15.762Z (2 months ago)
- Topics: browser, js, json, nodejs, test, validate
- Language: JavaScript
- Size: 749 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# is-json-valid
Determine if a value is a valid JSON
## Install
```
$ npm i --save is-json-valid
```## Usage
```javascript
const isJsonValid = require('is-json-valid')
const json = '{...}'isJsonValid(json) //=> boolean
```