JetBrains Rider 2019.3 Help

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 JetBrains Rider settings Ctrl+Alt+S.

Inspection

Description

Default Severity

Compliance with JSON standard

This inspection checks that JSON files conform to language specification (RFC-7159).

Error Error
Unresolved '$ref' and '$schema' references

This inspection checks that '$ref' and '$schema' paths are valid

Warning Warning
Deprecated JSON property

This inspection checks for deprecated properties in JSON files
Note that deprecation mechanism is not defined in the JSON Schema specification yet,and this inspection uses a non-standard extension 'deprecationMessage'.

Weak Warning Weak warning
Duplicate keys in object literals

This inspection checks that object literals don't contain duplicate keys.

Warning Warning
Compliance with JSON5 standard

This inspection checks that JSON5 files conform to language specification (http://json5.org/).

Error Error
Compliance with JSON schema

This inspection checks that JSON files conform to JSON Schemas assigned to them

Warning Warning
Last modified: 24 February 2020