fastjson用法(后续补充) 1.字符串转成对象 User user = JSON.parseObject(str , User.class); 2.对象转成字符串 String str = JSON.toJSONString(user);