cast object to list java code example
Example: java jackson cast to list
ObjectMapper mapper = new ObjectMapper();
List<Object> participantJsonList = mapper.readValue(jsonString, new TypeReference<List<Object>>(){});
ObjectMapper mapper = new ObjectMapper();
List<Object> participantJsonList = mapper.readValue(jsonString, new TypeReference<List<Object>>(){});