Code Inspections in JSON and JSON5
This topic lists all JetBrains Rider code inspections available in JSON and JSON5.
You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the IDE settings Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Compliance with JSON schema | Reports inconsistence between a JSON file and the JSON schema that is assigned to it. | Warning |
Compliance with JSON standard | Reports the following discrepancies of a JSON file with the language specification:
| Error |
Compliance with JSON5 standard | Reports inconsistency with the language specification in a JSON5 file. | Error |
Deprecated JSON property | Reports a deprecated property in a JSON file. | Weak warning |
Duplicate keys in object literals | Reports a duplicate key in an object literal. | Warning |
Unknown JSONPath function | Reports an unknown name in a JSONPath function call instead of known standard function names: | Warning |
Unknown JSONPath operator | Reports an unknown operator on a JSONPath expression instead of one of the standard ones: | Warning |
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. | Warning |
Unresolved '$ref' and '$schema' references | Reports an unresolved | Warning |