no-extra-content-after-property-value
Overview
This rule belongs to the json-validation
ruleset and states that:
JSON data must not contain any extra content after a property key-value pair. The property value must be terminated correctly to be parsed successfully.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | JSON data is invalid as the content after the property value could not be parsed. |
Code | JSON_V107 |
Type | Validation |
Rule System | Syntax |
Broad Category | JSON Property Value |
Tags | json data preliminary checks validation json property value |
Suggested Fixes
- Did you miss a ',' or ']' or '}' or '"' or '{' after the value?
- Make sure that the property value is properly escaped.
- Ensure that there is no extra or misplaced content after the property value
- Ensure that the property value is enclosed in double quotation marks (if applicable).
- If the value is quoted, make sure that there is no missing starting/ending quotation mark.
- If the value is quoted, make sure that there are no extra trailing/leading quotation marks around the value.