Inspectopedia
 
2024.3

Compliance with JSON standard

Error
New
Last modified: 03 December 2024

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