Skip to main content

valid-json-comment

Overview

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

A valid JSON comment must start with double slashes.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageJSON data is invalid as a comment could not be parsed.
CodeJSON_V250
TypeValidation
Rule SystemSyntax
Broad CategoryMiscellaneous
Tagsjson data preliminary checks validation json comment

Suggested Fixes

  • Comments must start with a double forward slash '//'.
  • Did you forget to enclose a value starting with a forward slash in quotation marks?

For More Information