public static String mapToJson ( final Map < String , Object > map ) { try { return MAPPER . writeValueAsString ( map ) ; } catch ( JsonProcessingException e ) { return null ; } }
Convert a map to a JSON String .