Is there a way to use annotation on a List property in a class to use ACCEPT_SINGLE_VALUE_AS_ARRAY in Jackson? I\'m using Spring and getting the b
ACCEPT_SINGLE_VALUE_AS_ARRAY
Jackson
If this project is a Spring project then you can put this property in you application.properties:
application.properties
spring.jackson.deserialization.UNWRAP_SINGLE_VALUE_ARRAYS=true