I’m curious whether it’s more convenient to use json or xml in my android applications? Or does it not matter?
In Flash apps it’s definitely more convenient to use xml, but in javascript (at least in my opinion), it’s more convenient to work with json. I have a rails backend that could conveniently give json or xml so I’m trying to make a choice now.
Well the reason i ll recommend JSON not easy of use but the network bandwidth. JSON msgs are smaller in size as compared to XML. So consider this also for choosing one over the other.
Secondly, you can use Gson another lib also to ease your implementation which is easier to use as compared to
org.jsonimplementation that comes with Android platform.