Skip to main content

complete-json-object

Overview

This rule belongs to the json-validation ruleset and states that:

A JSON object must consist of key-value property pairs which are terminated properly.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageJSON data is invalid as an unexpected end of file was encountered while parsing JSON Object.
CodeJSON_V200
TypeValidation
Rule SystemSyntax
Broad CategoryJSON Start/End
Tagsjson data preliminary checks validation json object properties key-value pairs

Suggested Fixes

  • Ensure that file contents are complete.
  • Make sure that all properties of the JSON object make use of key-value pairs that are terminated correctly.
  • Make sure all keys are quoted and values escaped properly.
  • Check for any syntax errors in the JSON object under consideration

For More Information