Skip to content

Add JSONC input mode for jq checks - #217

Closed
skovranek wants to merge 2 commits into
mainfrom
ms_feat_cli_jsonc
Closed

skovranek wants to merge 2 commits into
mainfrom
ms_feat_cli_jsonc

Conversation

@skovranek

Copy link
Copy Markdown
Member
  • Add inputMode: jsonc to stdoutJq checks, supporting line comments, block comments, and trailing commas.
  • Normalize JSONC using HuJSON before passing it through the existing JSON decoder and jq evaluation.
  • Preserve numeric precision and existing error reporting. JSON and JSONL modes remain unchanged.
  • Accept a final line comment without a newline.

@skovranek skovranek closed this Sep 15, 2026
@theodore-s-beers
theodore-s-beers deleted the ms_feat_cli_jsonc branch September 18, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant