]> git.kaiwu.me - njs.git/commit
Refactored njs_object_traverse().
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Aug 2021 16:17:19 +0000 (16:17 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Aug 2021 16:17:19 +0000 (16:17 +0000)
commit96a8c586364b710a060945aa52414598cd1ee6b2
treed4d00c2f80d28e8551263b8ad5bdfeb5dbde8ba7
parent8b7b59660a65202515e0f31d6c70e68f8b678504
Refactored njs_object_traverse().

The previous approach was inconsistent in treating shared properties
with other places (JSON.stringify()) where object is iterated.
src/njs_builtin.c
src/njs_object.c
src/njs_object.h
src/test/njs_unit_test.c
test/njs_expect_test.exp