Awesome
lua-resty-jsdecode
Javascript Escape Notation Decode To UTF-8 Bytes with the Luajit ffi binding
Table of Contents
Status
Production Ready
Compile
make;
Usage
Make sure jsdecode.lua
and libjsdecode.so
is in the package.cpath
and package.path
local jsdecoder = jsdecode.new()
jsdecoder.decode("\\u0062\\u006f\\u006f\\u006d") #boom
Todo
- Latin-1 character
- Control escape sequences
Contributing
To contribute to lua-resty-jsdecode, clone this repo locally and commit your code on a separate branch.
PS: PR Welcome :rocket: :rocket: :rocket: :rocket:
Author
GitHub @detailyang
License
lua-resty-jsdecode is licensed under the MIT license.