complete-property-identifier-name
Overview
This rule belongs to the json-validation
ruleset and states that:
A property of JSON is identified uniquely with a key, which must be valid and followed by a property value.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | JSON data is invalid as an unexpected end was encountered while parsing property key/name. |
Code | JSON_V003 |
Type | Validation |
Rule System | Syntax |
Broad Category | JSON Property Key |
Tags | json data preliminary checks validation json property key identifier |
Suggested Fixes
- Ensure that file contents are complete.
- If quoted, make sure that the property key has a starting as well as an ending quotation mark.
- Make sure that the property key is properly escaped.