I have a list of String which I wish to convert to Json.
ArrayList<String> list = new ArrayList()l
list.add("IR01");
list.add("00112");
list.add("0ID001");
By using list.toString(), getting response string as [IR01,00112,0ID001], but one of my requirement needs to send json string like `"["\IR01","\00112","\0ID001\"]" to StringEntity class.
I don't know how to continue from here. A little help will be appreciated. Thanks.