맵 fastjson 알파벳 크기 JSON 문자열로 변환

 공공  정적  무효 메인 (문자열 []에 args) { 
        의 HashMap <문자열 오브젝트>지도 =  의 HashMap <문자열 오브젝트> (); 
        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 (지도, SerializerFeature.MapSortField)); 
    }

 

추천

출처www.cnblogs.com/zyf-yxm/p/11726358.html