java - How to translate the Json in to POJO -
i have following json need able present in pojo, how ? the json has 1 key per day , value each key 2 separate logical arrays, using jackson library. { "2014/01/02": [ {"abc": 2.25, "xyz": 4.05}, {"amazon.com": 3} ], "2014/01/03": [ {"abc": 13.02}, {"amazon.com": 3} ] } you don't have option. that's ugly looking json. there no consistent format, can create pojo. things need consider. {} json object. im java mapping terms, can either map pojo, or map . in order map pojo, need common property names , formatting, of doesn't seem have. seems varying. may need use map . here's how @ it { // start map "2014/01/02": [ // map key: start array ( list<map> ) {"abc": 2.25, "xyz": 4.05}, // start map {"amazon.com": 3} // map you can use @jsonanysetter simplify, using pojo wrapper, still have, in end map<...