@luojianet/remove-json-comments
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@luojianet/remove-json-comments", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "remove json comments", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -39,13 +39,11 @@ # remove-json-comments [![Build Status](https://travis-ci.org/sindresorhus/strip-json-comments.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-json-comments) | ||
{ | ||
[ | ||
{ | ||
"ITEM2":{ | ||
"names":[ | ||
"nameB", | ||
"nameC" | ||
] | ||
} | ||
}, // need to remove this comma! | ||
[{ | ||
"ITEM2": { | ||
"names": ["nameB", "nameC"] | ||
} | ||
}, // need to remove this comma! | ||
] | ||
}` | ||
} | ||
` | ||
JSON.parse(stripJsonComments(json)); | ||
@@ -52,0 +50,0 @@ ``` |
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
4407
88