How can I serialize a property which is a Map as a List of the Map’s values? I’ve been able to do other simple conversions using the @JsonSerialize(using=...) annotation on the getter. However, I am not sure if one exists for what I want to do.
How can I serialize a property which is a Map as a List of
Share
We needed something similar, in our case we used a customized
@JsonSerializeas you commented, and it was stupid simple:Code using it: