PB可用的JSON纯PB代码实现
stringsInputJson
n_cst_json ln_json
sInputJson ='[[{"2000":"001**消耗积分统计成功"},{"2000":"002**消耗积分统计成功"}][{"batchnumber":"1b8a45712f7682201664968acc805350","totalscore":"100","vgoocard":"001","event":[{"usedscore":"50","addtime":"1331366949","usedevent":"?ò???à?¢ò?°?"},{"usedscore":"50","addtime":"1331366949","usedevent":"buy gift 3"}]},{"batchnumber":"1b8a45712f7682201664968acc805350","totalscore":"100","vgoocard":"002","event":[{"usedscore":"100","addtime":"1331366949","usedevent":"?ò???Y3a?á???±"}]}]]'
parseobject p
p = ln_json.of_parse( sInputJson )
any pp
pp = p
long ll_lev1,ll_lev2
ll_lev1 = tv_1.InsertItemFirst(0,"Composers",1)
ln_json.of_display(pp,tv_1,ll_lev1)
实测可以运行
现在用Sailjson也是不错的 谢谢分享 这个还是不错,saijson改进一下非常好用 可以用!!! 感谢分享,希望发布更多更好作品 tks a lot nice man 进来学习一下 进来学习一下
页:
[1]