Skip to content

Fix decoding nested empty json array error#2

Open
aoxu wants to merge 1 commit intoluaforge:masterfrom
aoxu:master
Open

Fix decoding nested empty json array error#2
aoxu wants to merge 1 commit intoluaforge:masterfrom
aoxu:master

Conversation

@aoxu
Copy link

@aoxu aoxu commented Jun 17, 2013

test case:

require("json")
local t = "{ \"a\" : { \"b\" : [ ] } }"
print(json.decode(t))

I fixed it.

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.

1 participant