转自: http://stackoverflow.com/questions/4110664/gson-directly-convert-string-to-jsonobject-no-pojo
JsonParser parser = new JsonParser();
JsonObject o = (JsonObject)parser.parse("{\"a\": \"A\"}");
转自: http://stackoverflow.com/questions/4110664/gson-directly-convert-string-to-jsonobject-no-pojo
JsonParser parser = new JsonParser();
JsonObject o = (JsonObject)parser.parse("{\"a\": \"A\"}");