Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
6772 Posts
ACCEPTED ANSWER

Pinned topic can we embed html in JSONX

‏2012-10-31T21:37:19Z |
Hi i am trying to get the html in JSON response,I have embeded html in jsonx but i am getting like this

<json:object>
<json:string name="htmlText">
<html>
<body>
hello world
</body>
</html>
</json:string>
<json:object>
I got response like this

{
"htmlText":"Hello World"

but i need
{
"htmlText":"<html>
<body>
hello world
</body>
</html>"
}
please help me