Skip to content

Add JSONL Formatting Support - #256

Open
sapph42 wants to merge 2 commits into
NPP-JSONViewer:masterfrom
sapph42:master
Open

sapph42 wants to merge 2 commits into
NPP-JSONViewer:masterfrom
sapph42:master

Conversation

@sapph42

@sapph42 sapph42 commented Sep 30, 2026

Copy link
Copy Markdown

The current Format JSON command - correctly - refuses to format a JSON Lines file (https://jsonlines.org/) since in JSON Lines, each line is a complete JSON document, but the file itself is not.

Added Format JSON Lines command, almost exclusively using existing machinery (but on a per-line basis).

Also added unit tests for new JSONL code.

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