Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法解析一个嵌套的 java 对象,它有多个集合字段,其中很少是空值。
我需要这样的东西
@EmptyCollectionIfNull private List<String> names;