Live data from Hacker News

ECMA-404: The JSON Data Interchange Format [pdf]

ecma-international.org

21–30 of 199 posts

Re: ECMA-404: The JSON Data Interchange Format [pdf]

#21
post #9

Can anyone go into the detail of the impact ,if any, of this?

I'd be interested to know if this has any impact on the "don't be evil" clause in the JSON license.

That's just a license for software available on json.org, so no impact at all.

Re: ECMA-404: The JSON Data Interchange Format [pdf]

#26
post #8

My faint hopes for trailing comma support are now crushed.

I'm actually very confused by it - I thought the specification for ECMAScript 3 already specified trailing comma support for JSON. Will need to look it up...

ECMAScript 3 did not allow trailing commas in object literals, its section 11.1.5 is:

    ObjectLiteral :
        { }
        { PropertyNameAndValueList }
whereas ES5's is:

    ObjectLiteral :
        { }
        { PropertyNameAndValueList }
        { PropertyNameAndValueList , }
And while JSON is strongly inspired by javascript's object notation, it is not actually javascript: their strings are subtly incompatible (JSON allows U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in quoted strings, javascript does not).

Re: ECMA-404: The JSON Data Interchange Format [pdf]

#28
post #25

If he want to be formalis JSON e he should use a standard license for the software. I accept "The Software shall be used for Good, not Evil." is amusing and "good" but must cause difficulties for people wanting to package with other software under standard licenses.

That is the license on just one of dozens, perhaps hundreds of JSON implementations. It has nothing at all to do with standardization of the format.

Re: ECMA-404: The JSON Data Interchange Format [pdf]

#29
post #20

No thanks to Mr. Crawford for not fixing the \u2028-9 issue. JSON as defined is not a subset of javascript. It is a design mistake that was pointed out to him years ago, but he is too stubborn or arrogant to fix it.

Why do you ask him without the stubborn and arrogant comment on G+ and about trailing commas? Or is indirect better?

Probably because he's very aware of it already and people here may not be.

(Meta: Why have any conversation on an HN back-channel when there are comments open at the source?)

Re: ECMA-404: The JSON Data Interchange Format [pdf]

#30
post #5

Earlier quoted context omitted.

the kind that correctly uses XML for everything.

Why do you believe that using XML is better than JSON in every case? Or am I misinterpreting your comment?

I took it as sarcasm. The "for everything" was the tell.
Post reply on HN