API could not process template

gg1234 Expensify Customer Posts: 12 Expensify Newcomer

I have a json template that works quite well. I have some issues when string type data contain quotes, it leads to not valid json. So I use the function ?json_string like this to escape quotes:

"comment": "${expense.comment?json_string}",

but for unknown reasons template does not work anymore. Any ideas? Ty

Best Answer