public static < E > String serialize ( Map < String , E > map , Class < E > jsonObjectClass ) throws IOException { return mapperFor ( jsonObjectClass ) . serialize ( map ) ; }
Serialize a map of objects to a JSON String .