i have a json string like
{"id":0,"version":0,"subject":"[2sravya] data","description":"[10nd data] description [AWS Account:12234]","createdDate":null,"visibleToCustomer":false,"externalEMailId":null}
After it is converted to JSONObject using JSONSerializer.toJSON() the JSONObject contains value like
{ "id": 0, "version": 0, "subject": "[2sravya] fdaya", "description": [ "10nd data" ] }
data present in description is a string data. i want the same to be present in formatted JSONObject.