Serializing an array of arrays in java using Jackson
问题 I'm learning how to use Jackson and I have to serialize an array of ContoCorrente objects public class ContoCorrente { private String proprietario; private ArrayList<MovimentoBancario> movimenti; //methods... } where MovimentoBancario is defined as public class MovimentoBancario { private String data; private String causale; //methods... } I tried with ArrayList<ContoCorrente> conti= new ArrayList<ContoCorrente>(50); for(int i=0; i<50; i++){ //fill array } try { ObjectMapper mapper = new