Back to Intellij Community

JsonStandardCompliance

json/backend/resources/inspectionDescriptions/JsonStandardCompliance.html

2025.3-rc-2470 B
Original Source

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).