如何解析riak Kv中的关联类型数组?

时间:2017-01-18 10:56:04

标签: riak riak-search

如何在Riak-solr中解码此JSON?

{"policy_number":"1000067730-14","issue_date":"16/04/2016","expiry_date":"15/04/2017","discount_details":{"members":[{"member_id":"1111100018","memberName":"Ms Sonali Arora","quarters":[{"quarter_number":1,"quarter_discount":"10.0","quarter_startdate":"16/04/2016","quarter_enddate":"15/07/2016","average_steps":"222222"}]},{"member_id":"1111100019","memberName":"Ms Sonali Arora","quarters":[{"quarter_number":1,"quarter_discount":"5.0","quarter_startdate":"16/04/2016","quarter_enddate":"15/07/2016","average_steps":"205222"},{"quarter_number":2,"quarter_discount":"0.4","quarter_startdate":"16/07/2016","quarter_enddate":"13/10/2016","average_steps":"3500"}]}]},"email":"garimagauri@gmail.com","mobile":"9958791166","proposerName":"Ms Sonali Arora"}

0 个答案:

没有答案