samedi 12 mai 2018

Java: Replace null values of collection type fields empty collection

Is there a way to parse a nested java object which has multiple collection fields few of them are nulls.

I need something like this

@EmptyCollectionIfNull
private List<String> names;





Aucun commentaire:

Enregistrer un commentaire