This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:devel:transformations [2018/09/04 19:00] miconda [{s.corehash,n}] |
cookbooks:devel:transformations [2019/01/09 10:11] ycaner Json : add json.parse transformation. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kamailio SIP Server v5.2.x (devel): Transformations ====== | + | ====== Kamailio SIP Server v5.3.x (devel): Transformations ====== |
< | < | ||
Line 711: | Line 711: | ||
$(hu{url.querystring}) => " | $(hu{url.querystring}) => " | ||
+ | </ | ||
+ | |||
+ | ===== JSON Transformations ===== | ||
+ | |||
+ | <fc # | ||
+ | |||
+ | |||
+ | ==== {json.parse} ==== | ||
+ | |||
+ | You can use the transformation to extract values from the json structured pseudo-variables | ||
+ | |||
+ | < | ||
+ | |||
+ | $var(Custom-Data) = $(rb{json.parse, | ||
+ | |||
</ | </ | ||