func_json: Adds JSON_DECODE function

Adds the JSON_DECODE function for parsing JSON in the
dialplan. JSON parsing already exists in the Asterisk
core and is used for many different things. This
function exposes the basic parsing capability to
the user in the dialplan, for instance, in conjunction
with CURL for using API responses.

ASTERISK-29706 #close

Change-Id: Iea60c49a7358dfdc2db60803cdc9a742f808ba2c
This commit is contained in:
Naveen Albert
2021-10-25 21:19:49 +00:00
committed by George Joseph
parent 087f25d3fd
commit c0cdaf0246
2 changed files with 233 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Subject: func_json
The JSON_DECODE dialplan function can now be used
to parse JSON strings, such as in conjunction with
CURL for using API responses.