News for hackers. Stuff that matters.
Re:JSONx is an IBM standard format to represent JSON as XML by js2 on Friday April 29, 2011 @05:37PM (#2499087)
Reminds me of the Property List evolution:

1. "Under NeXTSTEP, property lists were designed to be human-readable and edited by hand, serialized to ASCII in a syntax somewhat like a programming language."

2. "In Mac OS X 10.0, the NeXTSTEP format was deprecated, and a new XML format was introduced."

3. "Since XML files, however, are not the most space-efficient means of storage, Mac OS X 10.2 introduced a new format where property list files are stored as binary files."

Re:JSONx is an IBM standard format to represent JSON as XML by haberman on Friday April 29, 2011 @05:53PM (#2499144)
Everything converges to the equivalent of protocol buffers.

Property lists -> XML -> Binary Property Lists

JSON -> JSON Schema -> Binary JSON

XML -> XML Schema -> XML Namespaces -> Binary XML

Or you can skip all that faffing around and just jump straight to protocol buffers. :)

ps. Protocol Buffers have a text format too that looks very similar to JSON. And you can encode protocol buffers as JSON, though I'm not sure there's good software support for it yet. I'm working on it.

Re:JSONx is an IBM standard format to represent JSON as XML by spullara on Friday April 29, 2011 @08:13PM (#2499496)
Similarly you could use Doug Cutting's Avro format that does have a JSON representation. It is also evolvable like Protocol Buffers and works well in untyped languages. I highly recommend it.
Re:JSONx is an IBM standard format to represent JSON as XML by haberman on Friday April 29, 2011 @08:40PM (#2499543)
Avro looks like an interesting format, thanks for the pointer.
Re:JSONx is an IBM standard format to represent JSON as XML by jallmann on Friday April 29, 2011 @09:05PM (#2499577)
Unfortunately, XML still prevails in XCode config and xib files. Modifying them makes for a completely polluted diff in your commit. Makes me rage.