Javascript Escape Notation Decode To UTF-8 Bytes with the Luajit ffi binding
Production Ready
make;
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
- Latin-1 character
- Control escape sequences
To contribute to lua-resty-jsdecode, clone this repo locally and commit your code on a separate branch.
PS: PR Welcome 🚀 🚀 🚀 🚀
GitHub @detailyang
lua-resty-jsdecode is licensed under the MIT license.