json字符串與JAVA對象相互轉換

因爲公司要與第三方接口進行對接,故有json字符串與JAVA對象相互轉換的場景,特此記錄。~~~~java 1.定義一個工具類json public class JsonMapper { private static ObjectMapper mapper; private static JsonMapper _instance = new JsonMapper(); pr
相關文章
相關標籤/搜索