Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java jackson cast to list

ObjectMapper mapper = new ObjectMapper();
List<Object> participantJsonList = mapper.readValue(jsonString, new TypeReference<List<Object>>(){});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #jackson #cast #list
ADD COMMENT
Topic
Name
8+5 =