json-parser
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "json-parser", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "JSON parser to parse JSON object and MAINTAIN comments.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -24,4 +24,7 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-json-parser.svg?branch=master)](https://travis-ci.org/kaelzhang/node-json-parser) | ||
const {parse} = require('json-parser') | ||
``` | ||
parse(text, reviver? = null, remove_comments? = false): null | object | ||
```ts | ||
parse(text, reviver? = null, remove_comments? = false) | ||
: object | string | number | boolean | null | ||
``` | ||
@@ -33,3 +36,3 @@ | ||
Returns `object | null` corresponding to the given JSON text. | ||
Returns `object | string | number | boolean | null` corresponding to the given JSON text. | ||
@@ -36,0 +39,0 @@ content |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12815
231
11282