Serialization of special character in JSON format
Closed this issue · 1 comments
edaubert commented
According to the definition of kevscript in Kevoree, we are able to define attributes with muliple lines, with quote inside the value and potentially every existing special characters
However, the produce JSON doesn't handle well this characters and so we add some specific trick to avoid some issue.
For example, in Java, we replace all the \ by \ to ensure the string which is store in the JSON is well enough with ", ' and \n.
Is it possible to automatically manage this and the special characters from KMF ?
Indeed, KMF is responsible to generate the JSON with the JsonModelSerializer.