Give it a try. BTW, which JSON parser are you using on the server? On Tue, May 25, 2010 at 7:40 PM, santha <[email protected]> wrote:
> Hi Frank, > thanks for the reply.. I understood ur points.. > So for transferring the data from client to server HttpClients > methods(POST,GET,DELETE,PUT) are sufficient. > > when we send the data in the form of JSON,on the server is able to > receive and parse it accordingly. am i right?? > > On May 26, 12:20 am, Frank Weiss <[email protected]> wrote: > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

