Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LDFLAGS = $(LIBFLAG)
LDLIBS = -lpthread

ifdef LUA_LIBDIR
LDLIBS += $(LUA_LIBDIR)/$(LUALIB)
LDLIBS += $(LUA_LIBDIR)
endif

ifeq ($(OS),Windows_NT)
Expand Down Expand Up @@ -38,4 +38,4 @@ clean:
rm -f *.$(LIBEXT) src/*.{o,d}

install: $(TARGET)
cp $(TARGET) $(INST_LIBDIR)
cp $(TARGET) $(INST_LIBDIR)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A basic Lua binding to [simdjson](https://simdjson.org). The simdjson library is an incredibly fast JSON parser that uses SIMD instructions and fancy algorithms to parse JSON very quickly. It's been tested with LuaJIT 2.0/2.1 and Lua 5.1, 5.2, 5.3, and 5.4 on linux/osx/windows. It has a general parsing mode and a lazy mode that uses a JSON pointer.

Current simdjson version: 3.12.3
Current simdjson version: 4.0.7

## Installation
If all the requirements are met, lua-simdjson can be install via luarocks with:
Expand Down
1 change: 1 addition & 0 deletions jsonexamples/invalid/unknown_type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ -Inf }
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package="lua-simdjson"
version="0.0.7-1"
version="0.0.8-1"
source = {
url = "git://github.com/FourierTransformer/lua-simdjson",
tag = "0.0.7"
tag = "0.0.8"
}
description = {
summary = "This is a simple Lua binding for simdjson",
Expand Down
3 changes: 2 additions & 1 deletion spec/compile_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ local invalid_files = {
"nil_token.json",
"nil_token_scalar.json",
"nully_token.json",
"nully_token_scalar.json"
"nully_token_scalar.json",
"unknown_type.json"
}

describe("Make sure invalid files are not accepted", function()
Expand Down
Loading