像下面这样复杂格式的Json,用JSON-lib或者Gson怎么转换成Java对象,求好心人指教

{
"facets":{},
"hits":{
"hits":[
{"_source":
{"author":"侯振清%刘洋%王鑫娟%张其清","ffund":"厦门大学基金","firstauthor":"侯振清","lid":"A","refyear":"2013","ref":"^A2013^B1","lW_ORGID":"UA35001"},
"_id":"LW200800383289",
"_index":"cstpcd_chn_lw2",
"_type":"chnlw"
},
{"_source":{"author":"童惠娟%洪宗国%钟益声","ffund":null,"firstauthor":"洪宗国","lid":"A","refyear":null,"ref":null,"lW_ORGID":"UA42008"},"_id":"LW200600411391","_index":"cstpcd_chn_lw2","_type":"chnlw"}

    ],
"total":34807
},

"hitsCount":34807,
"took":"20"
}

查看全部
sannioy
sannioy
2015/08/05 08:01
  • java
  • json
  • 点赞
  • 收藏
  • 回答
    私信

1个回复