Răsfoiți Sursa

modules: readme files regenerated - modules ... [skip ci]

Kamailio Dev 7 ani în urmă
părinte
comite
538d812b61
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      src/modules/json/README

+ 6 - 0
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)");