1.json字符串转JavaBean
String msg2 = "{"type":123,"data":"123","+""currentTime":""+LocalDateTime.now()+""}";
rabbitMessage = JSONObject.parseObject(msg2, RabbitMessage.class);
SerializeWriter:相当于StringBuffer
JSONArray:相当于List<Object>
JSONObject:相当于Map<String, Object>
JSON反序列化没有真正数组,本质类型都是List<Object>