Posts Tagged 'JSON'

JSON escaping in Freemarker

XML knows the concept of CDATA, a container where non-interpreted/’binary’ information can be stored. JSON also has its list of non-allowed characters that will break the JSON format. One can ‘manually’ ¬†escape and de-escape the elements, but there is a more sound solution to that. Continue reading ‘JSON escaping in Freemarker’