Hi santha,

Please note that REST has much more to do with the HTTP method (GET, POST,
PUT, DELETE, etc.) and the URI than with the data serialization, such as
JSON and XML.

For many simple client-to-server data transfers, you can use the query
parameters instead of REST.

JSON and XML are often a subjective developer choice or dictated by an
existing web service. JSON is less verbose. XML can be transformed with
technologies such as XSLT. For HTML web clients, JSON is often the
serialization of choice because it maps directly to a Javascript object
graph. However, there are several Java libraries that will
serialize/deserialize JSON to Java object graphs.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to