hashmap.put( "lastName" , "Gupta" );. ObjectMapper mapper = new ObjectMapper();. try. {. //Convert Map to JSON. String json = mapper.
確定! 回上一頁