JSON Expression Bug: <<If: true>> something <<EndIf>> will automatically include a comma

<<If: true>> something <<EndIf>> will automatically include a comma. So it will produce

something,

That lead to some issues.

  1. The body of the if statement is a JSON object and it is at the end of JSON, that will lead to a trailing comma
  2. If we use the if statement within a normal tax in a JSON template, that will add unnecessary comma.

If I am missing on using the <If: >> statement, please let me know.

Thanks

0 4 495
4 REPLIES 4
Top Labels in this Space