Module: kamailio Branch: 5.0 Commit: 538d812b6166c1359bae617fc51b71752de46c36 URL: https://github.com/kamailio/kamailio/commit/538d812b6166c1359bae617fc51b71752de46c36
Author: Kamailio Dev <[email protected]> Committer: Kamailio Dev <[email protected]> Date: 2018-02-27T13:16:20+01:00 modules: readme files regenerated - modules ... [skip ci] --- Modified: src/modules/json/README --- Diff: https://github.com/kamailio/kamailio/commit/538d812b6166c1359bae617fc51b71752de46c36.diff Patch: https://github.com/kamailio/kamailio/commit/538d812b6166c1359bae617fc51b71752de46c36.patch --- diff --git a/src/modules/json/README b/src/modules/json/README index 2f3e6dc7a0..9cf2da6179 100644 --- a/src/modules/json/README +++ b/src/modules/json/README @@ -77,6 +77,12 @@ Chapter 1. Admin Guide Copy field 'field_name' from json object 'json_string' and store it in pvar 'destination'. + Note that the result is the string representation of that JSON filed. + For example, if you want to retrieve a field that has a string value, + then the result is the value enclosed in quotes. If the field value is + a structure, then the result is the string-formatted representation of + that structure. + Example 1.1. json_get_field usage ... json_get_field("{'foo':'bar'}", "foo", "$var(foo)"); _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
