Module: kamailio Branch: master Commit: 9465064d3913bcd061aaa280adb4366d9a4c5a52 URL: https://github.com/kamailio/kamailio/commit/9465064d3913bcd061aaa280adb4366d9a4c5a52
Author: Luis Azedo <luis.az...@factorlusitano.com> Committer: Luis Azedo <luis.az...@factorlusitano.com> Date: 2015-06-10T12:12:34+01:00 kazoo : add json keys function and escape character json in the form of { "Nodes" : { "myn...@my.tld.com" : { ... }, "myothern...@my.tld.com" : { ...} } } doesn't have an easy to fetch the keys (it works already if it is an array) kazoo_json_keys retrieves the keys to an avp when querying inner fields in the form xx.yy.zzz if one of xx / yy / zzz contains a dot (.) we cannot determine the field correctly. use "json_escape_char" param value to encode the value before querying json and kazoo_json will decode using the same character --- Modified: modules/kazoo/kazoo.c Modified: modules/kazoo/kz_json.c Modified: modules/kazoo/kz_json.h --- Diff: https://github.com/kamailio/kamailio/commit/9465064d3913bcd061aaa280adb4366d9a4c5a52.diff Patch: https://github.com/kamailio/kamailio/commit/9465064d3913bcd061aaa280adb4366d9a4c5a52.patch _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev