I finally got it:
ObjectMapper objectMapper = new ObjectMapper();
TypeFactory typeFactory = objectMapper.getTypeFactory();
List<SomeClass> someClassList = objectMapper.readValue(jsonString, typeFactory.constructCollectionType(List.class, SomeClass.class));
More Related Contents:
- Get NPE reading null object field when deserializing using Jackson [closed]
- Converting Java objects to JSON with Jackson
- How to convert the following json string to java object?
- Make Jackson interpret single JSON object as array with one element
- Difference between @JsonIgnore and @JsonBackReference, @JsonManagedReference
- Deserializing polymorphic types with Jackson based on the presence of a unique property
- org.codehaus.jackson versus com.fasterxml.jackson.core
- How to map JSON field names to different object field names?
- directly convert CSV file to JSON file using the Jackson library
- Deserialize JSON to ArrayList using Jackson
- Jackson – serialization of entities with birectional relationships (avoiding cycles)
- How to deserialize JS date using Jackson?
- Serializing enums with Jackson
- Jackson databind enum case insensitive
- What is the JSON View class in Jackson and how does it work?
- Ignore missing properties during Jackson JSON deserialization in Java
- Parsing JSON in Spring MVC using Jackson JSON
- How to map a nested value to a property using Jackson annotations?
- How to convert JSON string into List of Java object?
- How to enforce ACCEPT_SINGLE_VALUE_AS_ARRAY in jackson’s deserialization process using annotation
- Ignoring property when deserializing
- Jackson JSON custom serialization for certain fields
- Want to hide some fields of an object that are being mapped to JSON by Jackson
- Deserialize JSON into existing object (Java)
- How to tell Jackson to ignore empty object during deserialization?
- What’s the Jackson deserialization equivalent of @JsonUnwrapped?
- How to use @JsonIdentityInfo with circular references?
- How to use dynamic property names for a Json object
- Order of JSON objects using Jackson’s ObjectMapper
- Parsing json into java objects in spring-mvc