如何使用Jackson反序列化对象数组
//json input{ "id" : "junk", "stuff" : "things"}//JavaMyClass instance = objectMapper.readValue(json, MyClass.class);
//json input[{ "id" : "junk", "stuff" : "things"},{ "id" : "spam", "stuff" : "eggs"}]//JavaList<MyClass> entries = ?
慕虎7371278
尚方宝剑之说
一只名叫tom的猫
相关分类