JSON.toJSONString的坑有些字段沒有了

1.問題  在使用fastjson中的JSON.toJSONString方法將對象轉換成json字符串的時候,發現有些字段沒有了。如: 1 2 3 4 5 6 7 8 public static void main(String[] args) {         Map<String,Object>map=new HashMap<>();         map.put("id","1");  
相關文章
相關標籤/搜索