User Tools

Site Tools


cookbooks:devel:transformations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cookbooks:devel:transformations [2018/11/23 11:54]
miconda
cookbooks:devel:transformations [2019/01/09 10:11] (current)
ycaner Json : add json.parse transformation.
Line 711: Line 711:
  
 $(hu{url.querystring}) => "​this=is&​the=querystring"​ $(hu{url.querystring}) => "​this=is&​the=querystring"​
 +</​code>​
 +
 +===== JSON Transformations =====
 +
 +<fc #​0000ff>​This transformation class is exported by **json** module.</​fc>​
 +
 +
 +==== {json.parse} ====
 +
 +You can use the transformation to extract values from the json structured pseudo-variables
 +
 +<​code>​
 +
 +$var(Custom-Data) = $(rb{json.parse,​Custom-Data});​
 +
 </​code>​ </​code>​
  
cookbooks/devel/transformations.txt ยท Last modified: 2019/01/09 10:11 by ycaner