Code Inspections in JSON and JSON5
This topic lists all GoLand code inspections available in JSON and JSON5.
You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Ctrl+Alt+S.
Compliance with JSON schema
Reports inconsistence between a JSON file and the JSON schema that is assigned to it.
Compliance with JSON standard
Reports the following discrepancies of a JSON file with the language specification:
Compliance with JSON5 standard
Reports inconsistency with the language specification in a JSON5 file.
Deprecated JSON property
Reports a deprecated property in a JSON file.
Note that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'.
Duplicate keys in object literals
Reports a duplicate key in an object literal.
Unknown JSONPath function
Reports an unknown name in a JSONPath function call instead of known standard function names:
Unknown JSONPath operator
Reports an unknown operator on a JSONPath expression instead of one of the standard ones:
Unknown property key used for JSONPath evaluate expression
Reports a key in a JSONPath expression that is missing in the source JSON document to evaluate.
Unresolved '$ref' and '$schema' references
Reports an unresolved