Code Inspections in JSON and JSON5
This topic lists all DataGrip 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 Control+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Reports inconsistence between a JSON file and the JSON schema that is assigned to it. | Warning | |
Reports the following discrepancies of a JSON file with the language specification:
| Error | |
Reports inconsistency with the language specification in a JSON5 file. | Error | |
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'. | Weak warning | |
Reports a duplicate key in an object literal. | Warning | |
Reports an unknown name in a JSONPath function call instead of known standard function names: | Warning | |
Reports an unknown operator on a JSONPath expression instead of one of the standard ones: | Warning | |
Reports a key in a JSONPath expression that is missing in the source JSON document to evaluate. | Warning | |
Reports an unresolved | Warning |