lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jan 5, 2013 at 2:31 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sat, Jan 5, 2013 at 12:03 PM, Marc Balmer <marc@msys.ch> 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.

-Duncan