I am working on a wordrpress project and I need to get data from one wordpress instance to another distant one. I start using the XML-RPC functionnality provided by wordpress and I discover this morning the JSON API (A RESTful API for WordPress).
What are the main differences between this two architectures ? Which one would you use ? benefits ? weaknesses ?