Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new option -N to jstrencode and jstrdecode #1002

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

xexyl
Copy link
Contributor

@xexyl xexyl commented Oct 10, 2024

As requested this new option ignores a final newline in input for encoding/decoding. It does NOT change the JSON encoding/decoding rule that an unescaped newline is not allowed; it simply changes the mechanics of the tools. Further rules for this option are being discussed.

As requested this new option ignores a final newline in input for
encoding/decoding. It does NOT change the JSON encoding/decoding rule
that an unescaped newline is not allowed; it simply changes the
mechanics of the tools. Further rules for this option are being
discussed.
Copy link
Contributor

@lcn2 lcn2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the next PR to jparse to complete the -N processing.

@lcn2 lcn2 merged commit 401e76f into ioccc-src:master Oct 10, 2024
3 checks passed
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.

2 participants