Skip to content

Commit

Permalink
updated readme and rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
FourierTransformer committed Jul 31, 2024
1 parent 357bfdc commit 7046238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lua-simdjson
[![Build Status](https://github.com/FourierTransformer/lua-simdjson/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/FourierTransformer/lua-simdjson/actions?query=branch%3Amaster)

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. It has a general parsing mode and a lazy mode that uses a JSON pointer.
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.9.5

Expand Down Expand Up @@ -29,7 +29,7 @@ Both of these methods also have support to read files on disc with `parseFile` a
* lua-simdjson uses `simdjson.null` to represent `null` values from parsed JSON.
* Any application should use that for comparison as needed.
* it uses `lua_pushnumber` and `lua_pushinteger` for JSON floats and ints respectively, so your Lua version may handle that slightly differently.
* `lua_pushinteger` uses signed ints. A number from JSON larger than LUA_MAXINTEGER will be represented as a float
* `lua_pushinteger` uses signed ints. A number from JSON larger than `LUA_MAXINTEGER` will be represented as a float/number
* All other types map as expected.

### Parse some JSON
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package="lua-simdjson"
version="0.0.2-1"
version="0.0.3-1"
source = {
url = "git://github.com/FourierTransformer/lua-simdjson",
tag = "0.0.2"
tag = "0.0.3"
}
description = {
summary = "This is a simple Lua binding for simdjson",
Expand Down

0 comments on commit 7046238

Please sign in to comment.