From 7102888b570ef8bc29b3b389d2500db6e7c4250e Mon Sep 17 00:00:00 2001 From: Kamailio Dev Date: Tue, 27 Feb 2018 13:31:23 +0100 Subject: [PATCH] modules: readme files regenerated - json ... [skip ci] --- src/modules/json/README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/json/README b/src/modules/json/README index ad65f837f5e..1f17cb328b7 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)");