Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 1 addition & 2 deletions src/luasimdjson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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},
Expand Down
Loading