• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

XML or JSON

Canvas

Newbie
Oct 1, 2012
19
0
Hey guys,

I'm planning to create a multiplayer application where one player hosts the game, and 3 others can join up, but I'm having problems with which language i should use...JSON or XML, i have heard in some threads and papers that XML is bigger and is slower to send to other devices, but JSON is smaller and is much faster, is this true? if so could you let me know, if it isn't please state why, and any links saying which is better for what would be nice :)

Canvas
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones