Skip to content

BugBlocker/ljson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-json

Lua Module to parse JSON written in Rust

local ljson = require("ljson")

ljson.decode('{"name": "Khaled"}') // Lua Table {name = "Khaled"}
ljson.encode({"name": "Khaled"}) // Lua String '{name = "Khaled"}'

Installation

$ luarocks install lua-ljson --local