Details

Last Updated
last year
First Uploaded
last year
Downloads
9.4K
Likes
0
Size
563KB
Dependency string
JoStro-json5-0.1.1
Dependants

Categories

JSON5

Exposes a lua module for reading json5 via lovely

Usage

-- Require gives a function table
json5 = require "json5"

-- Return a json encoded string from a given value (also valid json5)
json5.encode({ "oh", {hello = "world"}}) -- Returns '["oh",{"hello":"world"}]'

-- Returns a value representing a given json5 string
json5.decode("[1,2,3,{hello: 'world',},]") -- Returns {1,2,3,{hello = "world"}}
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.