unstringify - Take a string and return an expression.
unstringify(error: bool, string)
unstringify is used to take an string and return an expression It can be used as a JSON un-stringnifier.
The optional parameter error is used to track error in the string. If error is false,
no error will be reported.
res={{a=unstringify('{ "a" : 1, "b" : "3" } '); a; type(a);}}. return res=\{"a":1,"b":"3"}context.
{{ include("includes/strings.sn") }}
Written by Pierre Laplante, <laplante@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.