News for hackers. Stuff that matters.
Re:JSON Feed by d0mine on Wednesday May 17, 2017 @08:31PM (#14364016)
Why are you referencing the obsolete rfc? There is no restriction to object/array for the JSON text in the current rfc https://tools.ietf.org/html/rfc7159
Re:JSON Feed by dwaite on Thursday May 18, 2017 @12:28AM (#14364820)
The current RFC recommends the use of an object or array for interoperability with the previous specification. JSON being a bit of a clusterf* of variants, they tried to make the RFC broad then place interoperability limitations on it. (lenient in what you accept, etc etc)
Re:JSON Feed by jameshart on Wednesday May 17, 2017 @10:12PM (#14364385)
Because I just discovered that there was, at least once, a specification that actually defined JSON that way, where previously I had thought it had only been ambiguously described, and I thought that was interesting.