Skip to content

detailyang/lua-resty-jsdecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Javascript Escape Notation Decode To UTF-8 Bytes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published