openresty / lua-cjson

Lua CJSON is a fast JSON encoding/parsing module for Lua
http://www.kyne.com.au/~mark/software/lua-cjson.php
MIT License
436 stars 119 forks source link

json_decode 在传入错误json数据时,处理不正常,异常数据为json.decode(”1111111111“) #101

Open CLX102030 opened 6 months ago

CLX102030 commented 6 months ago

json_decode 在传入错误json数据时,处理不正常,异常数据为json.decode(”1111111111“),解析成功并返回异常数据 1.1111111111111e+15

bananaman360865 commented 3 months ago

none of these work on mobile

CLX102030 commented 2 months ago

How do I pre-check for illegal data?

Tieske commented 2 months ago

please use English.

CLX102030 commented 2 weeks ago

How do I pre-check for illegal data?