1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2024-12-26 17:38:21 +01:00

improve json handle

This commit is contained in:
lxsang 2021-03-24 18:31:21 +01:00
parent 27d2cbfbfb
commit 8b22577c86
2 changed files with 1 additions and 0 deletions

BIN
dist/lua-0.5.2b.tar.gz vendored

Binary file not shown.

View File

@ -231,6 +231,7 @@ static int token_to_object(lua_State *L, jsmntok_t* t, const char* s, int cid)
break; break;
default: default:
lua_pushnil(L);
return cid + t[cid].size; break; return cid + t[cid].size; break;
} }