Code Inspection: Compliance with JSON standard
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the following discrepancies of a JSON file with the language specification:
A line or block comment (configurable).
Multiple top-level values (expect for JSON Lines files, configurable for others).
A trailing comma in an object or array (configurable).
A single quoted string.
A property key is a not a double quoted strings.
A NaN or Infinity/-Infinity numeric value as a floating point literal (configurable).
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.