ObjectMapper
public class JsonObjectDemo {
public static void main(String[] args) throws IOException {
String jsonString = "{\"brand\":\"jack\",\"door\":\"5\"}";
ObjectMapper objectMapper = new ObjectMapper();
JsonNode jsonNode = objectMapper.readTree(jsonString);
System.out.println(jsonNode.toString());
JsonNode brand = jsonNode.get("brand");
String s = brand.asText();
System.out.println(s);
}
}