Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (23 sloc) 0.563 kB
local JSON = require('json')
local value = JSON.parse([[
{
// A comment!
"author": "Tim Caswell <tim@creationix.com>",
"name": "kernel",
"description": "A simple async template language similair to dustjs and mustache",
"version": "0.0.3",
"repository": {
"url": ""
},
"null":[null,null,null,null],
"main": "kernel.js",
"engines": {
"node": "~0.6"
},
"dependencies": {},
"devDependencies": {}
}
]], {use_null=true,allow_comments=true})
p(value)
local json = JSON.stringify(value, {beautify=true,indent_string=" "});
print(json)
Jump to Line
Something went wrong with that request. Please try again.