]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_json: Fix JSON parsing issues.
authorNaveen Albert <asterisk@phreaknet.org>
Sun, 26 Feb 2023 15:40:15 +0000 (15:40 +0000)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 8 May 2023 17:55:16 +0000 (17:55 +0000)
commitea73a1f10d6c83ceb4e6067211c54a96eb1d2cfa
tree9c90378f6f7852770cdc2cd5fddd380f4f8732a4
parent6d5998ae5c5e75ea547707f58d0a85794bbf5b10
func_json: Fix JSON parsing issues.

Fix issue with returning empty instead of dumping
the JSON string when recursing.

Also adds a unit test to capture this fix.

ASTERISK-30441 #close

Change-Id: If0bde9f3fe84f7af485e0838205cc21e0f752a85
(cherry picked from commit 595fe0f1cc7e7b2800d5bfeafe6bc3759889cd50)
funcs/func_json.c