valid-json
Overview
This rule belongs to the json-validation
ruleset and states that:
JSON data must follow standards defined in the official JSON specification.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | JSON data is invalid. |
Code | JSON_V251 |
Type | Validation |
Rule System | Syntax |
Broad Category | Miscellaneous |
Tags | json data preliminary checks validation json |
Suggested Fixes
- Make sure that your JSON does not contain any syntax issues.
- Make sure that your JSON does not contain any semantic issues.
- Make sure that your JSON follows all rules specified in the official specification.