Matthias Kuhn f961ecef46 [FEATURE] Add an eval expression
Funded by
 * Regional Council of Picardy
 * ADUGA
 * Ville de Nyon
 * Wetu GIT cc
2015-12-08 08:43:45 +01:00

11 lines
472 B
Plaintext

{
"name": "eval",
"type": "function",
"description": "Evaluates an expression which is passed in a string. Useful to expand dynamic parameters passed as context variables or fields.",
"arguments": [ {"arg":"expression","description":"an expression string"}],
"examples": [
{ "expression":"eval('\\'nice\\'')", "returns":"'nice'"},
{ "expression":"eval(@expression_var)", "returns":"[whatever the result of evaluating @expression_var might be...]"}
]
}