java中怎么json字符串转为json对象?用Gson转换就行了,需要下载jar包例子:Person person=new Person()Gson gson=new Gson()String json=gson.toJson(person)