AnsweredAssumed Answered

JSON and number format

Question asked by orichaud on Feb 7, 2011
Latest reply on Feb 9, 2011 by orichaud
Hi,

I have a slight problem in a JSON webscript. This is a java backed web script and I return a set of POJO to the freemarker template. SOme attributes of the object are int and float. However, freemarker formats number and introduces separators for thousands which leads to errors when parsing the JSON stream.
So the question is simple: How can I prevent Freemarker from formatting numbers when not necessary?

Regards.

Olivier

Outcomes