Michael, > From a programming standpoint, JSON is just easier to deal with. Consider > these two links: > > http://php.net/manual/en/book.json.php > > http://php.net/manual/en/book.xml.php > > and tell me which you'd rather deal with. It's not huge, but it's not > nothing either.
To be fair, this works well partly because of the language. Works even better in JavaScript. It would work less well in C. Here's just one example: http://www.digip.org/jansson/doc/2.3/ JSON bits do not map perfectly to C. I thought C++ might be simpler, but the first library I grabbed had library documentation that was 224 pages long (libjson). When I process simple XML like that from WebFinger, I tend to use a parser that just steps through each node in order. I don't need to decode the whole "document" in memory and reference pieces and parts of it: one pass over it and I grab what I need. It's very simple to process the XML output from WebFinger that way. Paul _______________________________________________ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth