fastjson json serialized result was not correct

cvxl0en2  于 2021-11-27  发布在  Java
关注(0)|答案(1)|浏览(218)

json string:{"code":0,"data":{"data":[{"astrict":199.0,"couponName":"测试优惠券3","couponPrice":99.0,"createDate":1507604325000,"details":"测试优惠券3","endTime":1509379200000,"id":23,"isAstrict":true,"isEffect":true,"isEntrust":false,"modifyDate":1507604325000,"receiveNum":0,"shopId":1,"startTime":1507564800000,"status":"1","totalNum":10,"useNum":0,"userReceive":1,"uuid":"f59d2579adee4986a8de2078675a064e"},{"astrict":5.0,"couponName":"测试优惠券2","couponPrice":3.0,"createDate":1507604300000,"details":"测试优惠券2","endTime":1509379200000,"id":22,"isAstrict":true,"isEffect":true,"isEntrust":false,"modifyDate":1507604300000,"receiveNum":0,"shopId":1,"startTime":1507564800000,"status":"1","totalNum":10,"useNum":0,"userReceive":1,"uuid":"0d599da0c4fe468ebbe6ba30b2a76819"},{"astrict":6.0,"couponName":"测试优惠券1","couponPrice":5.0,"createDate":1507604223000,"details":"测试优惠券1","endTime":1509379200000,"id":21,"isAstrict":true,"isEffect":true,"isEntrust":false,"modifyDate":1507604223000,"receiveNum":0,"shopId":1,"startTime":1507564800000,"status":"1","totalNum":10,"useNum":0,"userReceive":1,"uuid":"c8623bb1ecf14fb4a92ffb81ce182659"}],"empty":false,"success":true,"totalNum":3,"totalPage":1},"success":true}

field isAstrict was always false.but the correct result should true

相关问题