Hi All,
I faced the issue about json serialization, i used this below code
str jsRead;
List resultSet = new List(Types::Class);
ResponseContract responseContract = new ResponseContract();
responseContract.parmRetTicketId("Test");
responseContract.parmRetStatus("Success");
responseContract.parmRetMessage("Test");
resultSet.addEnd(responseContract);
jsRead = FormJsonSerializer::serializeClass(resultSet);
return jsRead;
and i got the return like this
[{\"RetMessage\":\"Test\",\"RetStatus\":\"Success\",\"RetTicketId\":\"Test\"}]
How could it show this \ in the json string?
Regards,
Masha