Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA1001

Invalid JSON

The document, type file or import sidecar could not be parsed as strict JSON. No document or definitions can be loaded from that parse; the diagnostic gives the line and column.

Common causes

  • A missing quote, comma or closing bracket, often from an interrupted edit.
  • Comments or trailing commas in a format that accepts only strict JSON.

Fixes

  • Correct the syntax at the reported location, then run ara check <file>.

  • Run ara fmt <file> after the JSON parses to write the canonical form.

  • Code: ARA1001

  • Constant: JSON_SYNTAX

  • Reported by: ara-doc, ara-host