Here you can find the source of deserializeJson(String content, Class
public static <T> T deserializeJson(String content, Class<T> valueType) throws IOException
//package com.java2s; //License from project: Open Source License import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class Main { public static <T> T deserializeJson(String content, Class<T> valueType) throws IOException { return new ObjectMapper().readValue(content, valueType); }/*ww w . j ava 2s .com*/ }