Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```