Solved
Forum Discussion
Hi @patan,
If you have already array you can achieve this with group_by function in jsonPath.
Like this: jsonPath($, "$array[*].group_by(value['ORGID'])")
And here is the output:
Regards,
Viktor
The next release of the platform will have an expression language function for converting characters to their HTML entities. Until then, I think most people use replace() to do the substitution on the string, like so:
$msg.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>')
Or, the slightly fancier:
$msg.replace(/&|<|>/g, m => match m { '&' => '&', '<' => '<', '>' => '>' })