]> git.kaiwu.me - nginx.git/commit
JSON: report escaped strings as separate parser events
authorEvgeny Shirykalov <e.shirykalov@f5.com>
Wed, 30 Sep 2026 16:52:47 +0000 (09:52 -0700)
committerAleksei Bavshin <a.bavshin@f5.com>
Fri, 16 Oct 2026 16:42:01 +0000 (09:42 -0700)
commit1725db9059e8d4057ce8d5090673d16e20713b45
treefc9fa19ece41b13b6ac0727072f3a5c1d9b6960a
parent57d05f374cc577b23ce6af48fcd4a553a001b80a
JSON: report escaped strings as separate parser events

The parser now emits NGX_JSON_KEY_ESCAPED and
NGX_JSON_VALUE_STRING_ESCAPED for strings holding escape sequences, so
consumers no longer rescan tokens.
src/core/ngx_json_parse.c
src/core/ngx_json_parse.h
src/http/modules/ngx_http_json_module.c