convert list to json using jacksonObjectMapper code example
Example: objectmapper convert list of objects
List myObjects = mapper.readValue(jsonInput, new TypeReference>(){});
List myObjects = mapper.readValue(jsonInput, new TypeReference>(){});