标签:io ar sp on bs ad as new nbsp
ObjectMapper mapper = new ObjectMapper();
try {
user = mapper.readValue(new StringReader(json), User.class);
} catch (JsonParseException e) {
e.printStackTrace();
} catch (JsonMappingException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
User user;
String str=mapper.writeValueAsString(user);
标签:io ar sp on bs ad as new nbsp
原文地址:http://www.cnblogs.com/yqlwl66/p/4111065.html