[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luajson: how to pretty-print JSON output?
- From: Lucas Zawacki <lfzawacki@...>
- Date: Tue, 25 Jan 2011 23:21:30 -0200
Penlight has pretty printing of lua tables, I suppose the output of
luajson is a lua table right?
local pretty = require 'pl.pretty'
My apologies if it happens that this is not the answer you're looking
for. I've never used luajson and you may not be keen of adding
penlight as a dependency.