]> git.kaiwu.me - njs.git/commit
Refactored JSON methods.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 13 Nov 2019 12:19:49 +0000 (15:19 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 13 Nov 2019 12:19:49 +0000 (15:19 +0300)
commit6861d42f07d567c696ea1716ade0273daf34d8a0
tree0935713647c3f23013949f7e4bcf9f607826ef05
parentca17ef434a33f49f10bb482a60388695bcd1a8e2
Refactored JSON methods.

Before 540f03725df2 the parse/stringify methods had to store
their local context in dynamic memory because each JS
function invocation interrupted them.  Since JS function calls
are synchronous now the code can be greatly simplified.
src/njs_json.c
src/test/njs_unit_test.c