Code Inspections in JSON and JSON5
Last modified: 13 May 2022This topic lists all PhpStorm 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.
Inspection | Description | Default Severity |
---|---|---|
Reports inconsistence between a JSON file and the JSON schema that is assigned to it. | | |
Reports the following discrepancies of a JSON file with the language specification:
| | |
Reports inconsistency with the language specification in a JSON5 file. | | |
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'. | | |
Reports a duplicate key in an object literal. | | |
Reports an unknown name in a JSONPath function call instead of known standard function names: | | |
Reports an unknown operator on a JSONPath expression instead of one of the standard ones: | | |
Reports a key in a JSONPath expression that is missing in the source JSON document to evaluate. | | |
Reports an unresolved | |
Thanks for your feedback!