Fixes#35.
Add a helper to escape C++ string literals so that JSON control characters
(\n, \r, \t, and other bytes below 0x20) are emitted as escape sequences
instead of raw bytes. Use it for:
- field comments that include the JSON property key
- object key comparison literals in matchKey()
- enum name arrays
Also add regression tests that generate and syntax-check headers for
schemas containing newlines and other control characters in property keys
and enum values.
andrew
scheduled this pull request to auto merge when all checks succeed 2026-06-30 16:27:51 +00:00
andrew
merged commit f6617a1558 into main2026-06-30 16:30:23 +00:00
andrew
deleted branch weaselbot/issue-352026-06-30 16:30:24 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #35