Skip to main content

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.

PropertyValue
SeverityBlocking
MessageJSON data is invalid as the content after the property value could not be parsed.
CodeJSON_V107
TypeValidation
Rule SystemSyntax
Broad CategoryJSON Property Value
Tagsjson 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.

For More Information