json in the form of
{ "Nodes" : { "mynode@my.tld.com" : { ... }, "myothernode@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 You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/200
-- Commit Summary --
* kazoo : add json keys function and escape character
-- File Changes --
M modules/kazoo/kazoo.c (6) M modules/kazoo/kz_json.c (95) M modules/kazoo/kz_json.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/200.patch https://github.com/kamailio/kamailio/pull/200.diff
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/200
Merged #200.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/200#event-327315495
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/
Build broken On 10 Jun 2015 13:33, "lazedo" notifications@github.com wrote:
Merged #200 https://github.com/kamailio/kamailio/pull/200.
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/pull/200#event-327315495.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev