JSON - is there any XML CDATA equivalent?
I'm looking for a way that json parsing will take information as is (as if it was CDATA) - and not to try to serialize that. We use both .net and java (client and server) - so the answer should be about JSON structure Is there any way to achieve this structure? Thanks. almalki There is no XML CDATA equivalent in JSON. But you can encode your message in a string literal using something like base64. See this question for more details. http://www.json.org/ describes JSON format in details. According to it JSON doesn't support "something like CDATA" value type. To achieve CDATA structure you can