我有以下 JSON,我想使用 Jackson JSON 处理器库 ( http://jackson.codehaus.org/ ) 解析它:
{
"wrapper":{
"general":{
"value":10
},
"items":{
"DOG":{
"0":78,
"1":125
"name":"Lucky",
"features":{
"color":"brown",
"sex":"male"
}
},
"CAT":{
"0":123,
"1":94
"name":"Fluffy",
"features":{
"color":"black",
"sex":"female"
}
},
"MOUSE":{
"0":23,
"1":33
"name":"Jerry",
"features":{
"color":"gray",
"sex":"male"
}
}
}
}
}
就最佳实践而言,您如何建议成为最佳方式?