]> git.kaiwu.me - nginx.git/commit
Core: added JSON unescape functionality
authorRoman Semenov <r.semenov@f5.com>
Wed, 12 Aug 2026 16:39:11 +0000 (09:39 -0700)
committerRoman S <141866642+roman-f5@users.noreply.github.com>
Mon, 24 Aug 2026 18:08:31 +0000 (11:08 -0700)
commitbc1cb5686b87b069d0fc45a65b9ceef1e3c12ab2
treee8d96dd783d55d919ac736f9fd59e860c686ea90
parent3f6f7824d4e2eb1ac37dec76683d525ac0ff521c
Core: added JSON unescape functionality

Decodes JSON string escape sequences in place as defined by
RFC 8259, Section 7: the two-character escapes and \uXXXX,
with non-BMP code points encoded as UTF-16 surrogate pairs
and emitted as UTF-8.
auto/sources
src/core/ngx_json_unescape.c [new file with mode: 0644]
src/core/ngx_json_unescape.h [new file with mode: 0644]