asterisk/funcs
Naveen Albert 8a45cd7af4 func_json: Enhance parsing capabilities of JSON_DECODE
Adds support for arrays to JSON_DECODE by allowing the
user to print out entire arrays or index a particular
key or print the number of keys in a JSON array.

Additionally, adds support for recursively iterating a
JSON tree in a single function call, making it easier
to parse JSON results with multiple levels. A maximum
depth is imposed to prevent potentially blowing
the stack.

Also fixes a bug with the unit tests causing an empty
string to be printed instead of the actual test result.

ASTERISK-29913 #close

Change-Id: I603940b216a3911b498fc6583b18934011ef5d5b
2023-01-30 08:50:48 -06:00
..
Makefile Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
func_aes.c func_aes: Avoid incorrect error message on load. 2020-03-31 12:07:23 -05:00
func_base64.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_blacklist.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_callcompletion.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
func_callerid.c func_callerid: Warn about invalid redirecting reason. 2022-12-20 08:53:25 -06:00
func_cdr.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_channel.c documentation: Adds versioning information. 2022-04-26 17:40:39 -05:00
func_config.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_curl.c asterisk: Add macro for curl user agent. 2022-02-25 13:04:14 -06:00
func_cut.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_db.c func_db: Add function to return cardinality at prefix 2022-04-27 11:41:52 -05:00
func_devstate.c documentation: Standardize examples 2021-12-01 12:27:30 -06:00
func_dialgroup.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_dialplan.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_enum.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
func_env.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_evalexten.c func_evalexten: Extension evaluation function. 2022-04-27 03:15:35 -05:00
func_export.c func_export: Add EXPORT function 2022-09-26 07:53:20 -05:00
func_extstate.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_frame_drop.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_frame_trace.c func_frame_trace: Print text for text frames. 2023-01-05 06:11:02 -06:00
func_global.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_groupcount.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_hangupcause.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
func_holdintercept.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
func_iconv.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_jitterbuffer.c func_jitterbuffer: Add audio/video sync support. 2019-09-18 20:22:50 +00:00
func_json.c func_json: Enhance parsing capabilities of JSON_DECODE 2023-01-30 08:50:48 -06:00
func_lock.c func_lock: Add "dialplan locks show" cli command. 2021-06-11 13:26:50 -05:00
func_logic.c func_logic: Don't emit warning if both IF branches are empty. 2022-09-26 12:20:21 -05:00
func_math.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_md5.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_module.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
func_odbc.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_periodic_hook.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_periodic_hook.exports.in Fix error loading res_monitor. 2014-04-23 15:02:39 +00:00
func_pitchshift.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_pjsip_aor.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_pjsip_contact.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_pjsip_endpoint.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_presencestate.c func_presencestate: Fix invalid memory access. 2022-12-08 10:21:26 -06:00
func_rand.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_realtime.c Dialplan functions: Fix some channel autoservice misuse. 2018-06-19 10:56:33 -06:00
func_sayfiles.c say: Don't prepend ampersand erroneously. 2022-10-26 07:48:17 -05:00
func_scramble.c func_scramble: Fix null pointer dereference. 2022-09-22 11:26:09 -05:00
func_sha1.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_shell.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_sorcery.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_speex.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_sprintf.c funcs: Spelling fixes 2021-11-15 19:28:27 -06:00
func_srv.c func_srv: Document field parameter. 2022-07-27 12:10:25 -05:00
func_strings.c func_strings: Add trim functions. 2022-09-22 05:49:00 -05:00
func_sysinfo.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_talkdetect.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_timeout.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_uri.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_version.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_vmcount.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
func_volume.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00