GoLand 2020.1 Help

Code Inspections in JSON and JSON5

This topic lists all GoLand code inspections available in JSON and JSON5.

You can toggle specific inspections or change their severity level on the Editor | Inspections 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 Warning
Compliance with JSON standard

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

Error Error
Compliance with JSON5 standard

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

Error Error
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
Unresolved '$ref' and '$schema' references

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

Warning Warning
Last modified: 28 May 2020