Skip to content

luax when >=503, use isinteger of lua build-in#55

Open
ntfox0001 wants to merge 1 commit intoxpol:masterfrom
ntfox0001:master
Open

luax when >=503, use isinteger of lua build-in#55
ntfox0001 wants to merge 1 commit intoxpol:masterfrom
ntfox0001:master

Conversation

@ntfox0001
Copy link

local rapidjson = require('rapidjson')

local a = '{"aa":9223372036854775807}'

local o1 = rapidjson.decode(a)
print(o1.aa)
print(rapidjson.encode(o1))

local b = '{"aa":9223372036854775808}'

local o2 = rapidjson.decode(b)
print(o2.aa)
print(rapidjson.encode(o2))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants