I have these
JSONObject obj=new JSONObject();
obj.put("id","foo");
My id is string
. What characters can I put instead of foo? Can I put these "\!@#$%^&*()'"
?
I have these
JSONObject obj=new JSONObject();
obj.put("id","foo");
My id is string
. What characters can I put instead of foo? Can I put these "\!@#$%^&*()'"
?
See http://www.json.org/ under string. You can use:
Any UNICODE character except " or \ or control character