JSONata multi value filter does not work for Strings containing single quotes
Steps to reproduce
A multi value variable say Customer exists
Sample values:- Burger Town,Brink's etc
My UQL query is parse-json | scope “data” | jsonata “*[name in [${Customer:singlequote}]]” …
The UQL query works when Customer variable value = ‘Burger Town’
The UQL query does not work when Customer variable value = ‘Brink's’
The UQL being sent is:- parse-json | scope \"data\" | jsonata \"*[name in ['Brink\'s']]\" - Note the \ (double backlash) in front of the apostrophe
Describe the bug
JSONata multi value filter does not work for Strings containing single quotes
Steps to reproduce
A multi value variable say Customer exists Sample values:- Burger Town,Brink's etc
My UQL query is parse-json | scope “data” | jsonata “*[name in [${Customer:singlequote}]]” … The UQL query works when Customer variable value = ‘Burger Town’ The UQL query does not work when Customer variable value = ‘Brink's’
The UQL being sent is:- parse-json | scope \"data\" | jsonata \"*[
name
in ['Brink\'s']]\" - Note the \ (double backlash) in front of the apostropheScreenshots
Version Details: