Most Internet services will serve “send” you the data you requested “using HTTP GET/POST request” in JSON format. If your Android app is depending on sending and receiving data over the Internet e.g. interacting with social network API, you will definitely need to deal with JSON formatted data in your apps. This article shows how to send HTTP GET request to a rest service that returns data in JSON format & how to parse received JSON data.
This post is about building a RESTfull client using rest.js which belongs to cujo.js family.
If you want to build SPRING MVC REST application without using rest.js look at these posts
- Spring MVC JSON (JSON to Java)
- Spring MVC View JSON | XML | PDF
- Spring MVC return JSON using @ResponseBody
Building REST service using Spring MVC that returns different media type json, xml or pdf.
- How to build a REST service using Spring MVC to return json, xml or pdf?