no-extra-content-after-json-data-end
Overview
This rule belongs to the json-validation
ruleset and states that:
Once the JSON data is complete and terminated, no extra content must be placed after it.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | Provided JSON is invalid as additional content is found after the actual JSON data. |
Code | JSON_V205 |
Type | Validation |
Rule System | Syntax |
Broad Category | JSON Start/End |
Tags | json data preliminary checks validation json |
Suggested Fixes
- Remove any extra content before or after the actual JSON content.
- Make sure you haven't accidentally pasted the JSON data twice in the file.