Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grafi-tt committed Jan 1, 2019
1 parent f667048 commit 1bdc886
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
# 1.2.2

* Accept multiple spaces after colon (this bug introduced in 1.2.1)
* Slight decoding speed up

# 1.2.1

* Performance improvement of decoding (Thanks to @muhmuhten)
Expand Down
30 changes: 30 additions & 0 deletions rockspecs/lunajson-1.2.2-1.rockspec
@@ -0,0 +1,30 @@
package = "lunajson"
version = "1.2.2-1"
source = {
url = "git://github.com/grafi-tt/lunajson.git",
tag = "1.2.2"
}
description = {
summary = "A strict and fast JSON parser/decoder/encoder written in pure Lua",
detailed = [[
Lunajson features SAX-style JSON parser and simple JSON decoder/encoder. It is tested on Lua 5.1, Lua 5.2, Lua 5.3, and LuaJIT 2.0.
It is written only in pure Lua and has no dependencies. Even so, decoding speed matches lpeg-based JSON implementations because it is carefully optimized.
The parser and decoder reject input that is not conformant to the JSON specification (ECMA-404), and the encoder always yields conformant output.
The parser and decoder also handle UTF/Unicode surrogate pairs correctly.
]],
homepage = "https://github.com/grafi-tt/lunajson",
maintainer = "Shunsuke Shimizu",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = 'builtin',
modules = {
['lunajson'] = 'src/lunajson.lua',
['lunajson.decoder'] = 'src/lunajson/decoder.lua',
['lunajson.encoder'] = 'src/lunajson/encoder.lua',
['lunajson.sax' ] = 'src/lunajson/sax.lua',
}
}

0 comments on commit 1bdc886

Please sign in to comment.