-
Goal: Sending email to alist decided by information in double braces
-
Steps: As normal when this issue has happened on other parts of retool, single quote works, but double quote gives an error when used inside double bracket javascript code
-
Details: Returned error reads "Expected ',' or '}' after property value in JSON at position 12 (line 1 column 13)"
-
Screenshots:
-
App json export: (here's how to get a json export)Untitled (4) (2).json (71.8 KB)
Heya Daniel! Great to see you continuing to use and test Retool! Double quotes won't work for this scenario due to how we process JavaScript expressions within JSON I'm afraid. When using double quotes within a JSON field, it can accidentally break the JSON structure because Retool inserts the evaluated value directly into the JSON output therefore we recommend using single quotes here.