Jackson doesn't serialize field

后端 未结 1 385
青春惊慌失措
青春惊慌失措 2021-01-28 06:14

I have the following class -

public class Entity {

    private String id;
    private String name;

    private List images = new ArrayList<>         


        
相关标签:
1条回答
  • 2021-01-28 06:32

    You need to add getter and setter for Entity#images

    0 讨论(0)
提交回复
热议问题