diff --git a/README.md b/README.md index 7ad66c3..9525e62 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ local fileResponse = simdjson.openFile("jsonexamples/twitter.json") print(fileResponse:atPointer("/statuses/0/id")) --using a JSON pointer ``` -Starting with version 0.2.0, the `atPointer` method is JSON pointer compliant. The previous pointer implementation is considered deprecated, but is still available with the `at` method. +Starting with version 0.2.0, the `atPointer` method is JSON pointer compliant. The `open` and `parse` codeblocks should print out the same values. It's worth noting that the JSON pointer indexes from 0. diff --git a/lua-simdjson-0.1.1-1.rockspec b/lua-simdjson-1.0.0-1.rockspec similarity index 96% rename from lua-simdjson-0.1.1-1.rockspec rename to lua-simdjson-1.0.0-1.rockspec index 3c571f0..224a70f 100644 --- a/lua-simdjson-0.1.1-1.rockspec +++ b/lua-simdjson-1.0.0-1.rockspec @@ -1,8 +1,8 @@ package="lua-simdjson" -version="0.1.1-1" +version="1.0.0-1" source = { url = "git://github.com/FourierTransformer/lua-simdjson", - tag = "0.1.1" + tag = "1.0.0" } description = { summary = "This is a simple Lua binding for simdjson", diff --git a/src/luasimdjson.cpp b/src/luasimdjson.cpp index 97c278d..0216443 100644 --- a/src/luasimdjson.cpp +++ b/src/luasimdjson.cpp @@ -12,7 +12,7 @@ #include "luasimdjson.h" #define LUA_SIMDJSON_NAME "simdjson" -#define LUA_SIMDJSON_VERSION "0.1.1" +#define LUA_SIMDJSON_VERSION "1.0.0" using namespace simdjson; @@ -289,7 +289,6 @@ static int ParsedObject_newindex(lua_State* L) { } static const struct luaL_Reg arraylib_m[] = { - {"at", ParsedObject_atPointer}, {"atPointer", ParsedObject_atPointer}, {"__newindex", ParsedObject_newindex}, {"__gc", ParsedObject_delete},