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 Settings/Preferences Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Compliance with JSON schema | This inspection checks that JSON files conform to JSON Schemas assigned to them | Warning |
Compliance with JSON standard | This inspection checks that JSON files conform to language specification (RFC-7159). | Error |
Compliance with JSON5 standard | This inspection checks that JSON5 files conform to language specification (http://json5.org/). | Error |
Deprecated JSON property | This inspection checks for deprecated properties in JSON files | Weak warning |
Duplicate keys in object literals | This inspection checks that object literals don't contain duplicate keys. | Warning |
Unresolved '$ref' and '$schema' references | This inspection checks that '$ref' and '$schema' paths are valid | Warning |