解析反序列化json返回数据
如图,返回json数据,如何解析出来呢?
{\"retCode\":0,\"infoFeeRates\":[{\"feePrefix\":\"\",\"areaCode\":\"09\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"08\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"07\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"06\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"05\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"04\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"03\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"02\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"01\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"9\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"8\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"7\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"6\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"5\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"4\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"3\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"2\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6},{\"feePrefix\":\"\",\"areaCode\":\"1\",\"type\":4,\"areaName\":\"\",\"infoFeeRateSections\":[],\"fee\":0.0030,\"period\":6,\"lockType\":0,\"ivrFee\":0.0030,\"ivrPeriod\":6}]}\r\n
有什么通用的方法么??
------解决方案--------------------使用LitJson也不错,看下这里有相关文章