1. Object 转 Json
String str = new Gson().toJson(obj)
2.Json 转 Obj
CardModel card = JSON.parseObject(jsonMsgOut.info.toString(),CardModel.class);