Hi Giuseppe,
However, I am having a hard time to deal with “-” ( using
data(<!---—>) ), which is rendered as “&45;” , and “>”, which is translated into “>”: I tried a lot, but nothing seems to work: is there a way to keep “-” and “>” unchanged while serializing to JSON?
Could you provide us with a little self-contained example?
Another issue I am experiencing is that, after JSON serialization, the
order of the key-values in a map does not follow that specified in my code
That's correct. If you want the order to be preserved, you’ll need to choose an XML representation for your JSON data.
Ciao, Christian