[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is Lua used as a data representation language?
- From: Duncan Cross <duncan.cross@...>
- Date: Sat, 5 Jan 2013 15:55:01 +0000
On Sat, Jan 5, 2013 at 2:31 PM, steve donovan <firstname.lastname@example.org> wrote:
> On Sat, Jan 5, 2013 at 12:03 PM, Marc Balmer <email@example.com> wrote:
>> One statement by a colleague is: "Now for the data transfer representation, as in D.'s proposal, JSON is an option, but LUA is not, simply because we have no (and there can not be any) small C binding to it."
> I have some sympathy with this, if one isn't already doing something
> non-trivial with Lua. JSON is nice and stupid, although personally I
> find Lua data easier to read.
For readability, my least favourite things about canonical JSON are
that it does not support comments, and there's no way to break a long
string literal over multiple lines. Apart from that it's pretty good.