Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.22 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.22 KB

lua-resty-jsdecode

Javascript Escape Notation Decode To UTF-8 Bytes with the Luajit ffi binding

Table of Contents

Status

Build 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 🚀 🚀 🚀 🚀

Author

GitHub @detailyang

License

lua-resty-jsdecode is licensed under the MIT license.