lua-users home
lua-l archive

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


On 3/10/2013 4:39 AM, Ico wrote:
> (As a side note: this last comma is one of my annoyances with
> json/_javascript_, I have numerous times made the same error when
> trying to call some http API with JSON which I generated from Lua)


Amen to that! The real question is why JSON/_javascript_ DOESN'T allow a trailing comma. It's rather dumb that it doesn't.

Of course I use dkjson or another json generator at this point when I'm talking to a JSON API to avoid those kinds of stupid _javascript_-isms.

Tim