Module: kamailio
Branch: master
Commit: 7102888b570ef8bc29b3b389d2500db6e7c4250e
URL:
https://github.com/kamailio/kamailio/commit/7102888b570ef8bc29b3b389d2500db…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-02-27T13:31:23+01:00
modules: readme files regenerated - json ... [skip ci]
---
Modified: src/modules/json/README
---
Diff:
https://github.com/kamailio/kamailio/commit/7102888b570ef8bc29b3b389d2500db…
Patch:
https://github.com/kamailio/kamailio/commit/7102888b570ef8bc29b3b389d2500db…
---
diff --git a/src/modules/json/README b/src/modules/json/README
index ad65f837f5..1f17cb328b 100644
--- a/src/modules/json/README
+++ b/src/modules/json/README
@@ -82,6 +82,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)");