Skip to content

JSON output format (--json) #44

Description

@vmvarela

Description

Currently sql-pipe only outputs CSV. Adding JSON output (--json) would make the tool much more useful in pipelines with jq, APIs, and modern CLI workflows.

Acceptance Criteria

  • --json flag outputs results as a JSON array of objects
  • Each row is an object with column names as keys
  • Numeric values are JSON numbers (not strings)
  • NULL values are represented as JSON null
  • Empty result set outputs []
  • --json is mutually exclusive with --delimiter / --tsv / --header
  • Man page and README updated

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions