Aprove answer

A lot depends on the nature of your application.

The easiest is JSON through a REST interface.

Using HTTP(REST) gives you a number of advantages, one of which that often is overlooked is ease of debugging (setup fiddler as an HTTP proxy).

Unless you need schema validation, there really isn't much of a reason to choose XML over JSON. All platforms have simple json parsing frameworks.

Credit Goes to: stackoverflow.com

Related question with same questions but different answers