parseObject
Returns the JSON string in the argument as an object.
Arguments
string
- The JSON string to parse.
Example
{
"$scope": {
"test": "{\"a\": 1, \"b\": 2}"
},
"$template": {
"$comment": "The field below will be 1",
"test": "{{parseObject(test).a}}"
}
}