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

Fix json escaping again #115

Merged
merged 5 commits into from
Apr 24, 2022
Merged

Conversation

istathar
Copy link
Member

Implement unconsRope and breakRope so that we can properly scan across a piece of text.

Fix up the JSON string escaping function to be actually compliant with the JSON specification.

This may well admit a more efficient implementation, but doing this in
two passes will do quite well for now.
Fix (again) the escaping of JSON strings, accounting this time for TABs
other control characters. This is now fully spec compliant.

Closes aesiniath#111.
@istathar istathar self-assigned this Apr 24, 2022
@istathar istathar merged commit 330744c into aesiniath:main Apr 24, 2022
@istathar istathar deleted the fix-json-escaping-2 branch April 24, 2022 14:21
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