Is there any possibility to use an if statement similar to the xmlTemplater: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/xmltemplater.htm
The following code in the jsonTemplater returns the error
"JSONTemplater_2(XMLTemplaterFactory): The following error occurred near line 2, column 50 of the query:
JSONTemplater_2(XMLTemplaterFactory): invalid expression: syntax error, unexpected ExprSingle (missing comma "," between expressions?)"
Suggestions and code samples would be very welcomed.
{
if (fme:get-attribute("IS_GRENZPUNKT") eq "1")
then
"1": {}
else
"2": {}
}