Re:XMPP: Swiss Army Knife for the Internet of Things
by colanderman on Friday August 05, 2016 @02:56PM
(#12234913)
JSON has no notion of object "type". So if you have a list of things, whose processing is determined by their type, you may need to parse the entire object before finding the key/value pair that distinguishes its type.
Because XML puts the "type" of an object syntactically first, it supports this use case.
Because XML puts the "type" of an object syntactically first, it supports this use case.