public static void main(String[] args) { HashMap<String, Object> map=new HashMap<String, Object>(); map.put("sign_status", "UNBIND"); map.put("sign_type", "RSB"); map.put("user_id", "2088622919786204"); map.put("gmt_time", "20191023142225"); System.out.println(JSON.toJSONString(map,SerializerFeature.MapSortField)); }
原文地址:https://www.cnblogs.com/zyf-yxm/p/11726358.html
时间: 2024-10-07 20:42:10