[swift-users] Swift 101: JSON or XML?

Tino Heth 2th at gmx.de
Mon Feb 6 10:37:07 CST 2017


It's no real help for you, but for me, XML is a document format (store data for a long time), whereas JSON is a transfer format (I really wouldn't prefer JSON over XML for archiving).

But imho JSON won't continue growing in popularity, because finally people seem to rediscover the advantages of binary formats (Protobuf, FlatBuffer… but unless performance isn't critical, I'd probably stick with JSON as well).


More information about the swift-users mailing list