On 2012/04/21 11:41, Stephen Farrell wrote:
On 04/20/2012 03:40 PM, Michael Thomas wrote:
Why not MUST ASN.1 while you're at it? JSON has won in case
you'all haven't noticed it.
Well, I also remember when XML won over ASN.1, or
was that some RPC thing? Seems like a new format wins
about every five years or so, once the last winner
gets enough crap added. (JSON pointer seems like the
start of a nice slippery slope to me.)
There's a bit of that indeed. However, as others have noted, JSON is
indeed better suited for exchanging *data* between programs, in
particular between scripting languages, because their main datatypes are
numbers and strings, and their main data structures are arrays and
hashes (or whatever they are called).
In contrast to that, XML originated as a document format. It's way
better than JSON for documents, and for mixed document/data situations,
but if all you do is exchanging data (structures) between programs, JSON
wins.
Regards, Martin.
_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth