It's likely json will be processed more quickly on the client since it can be done natively, although it does depend on your use case. And json is usually smaller. http://en.wikipedia.org/wiki/JSON#Native_encoding_and_decoding_in_browsers http://stackoverflow.com/questions/4596465/is-parsing-json-faster-than-parsing-xml http://stackoverflow.com/questions/325085/when-to-prefer-json-over-xml (and vice versa)
On Wednesday, July 18, 2012 3:50:20 PM UTC+2, Ümit Seren wrote: > > I would go with JSON. > It's more compact than XML and seems to become more and more the defacto > standard for data communication in the web. > > > On Wednesday, July 18, 2012 7:18:42 AM UTC+2, MAQ wrote: >> >> Sorry, I meant 2 options provided by Google APIs. >> >> On Wednesday, July 18, 2012 2:50:51 PM UTC+10, Robert W wrote: >>> >>> I don't understant in what context you use "solution" word but generally >>> json is standard for api use, with gwt overlays mechanism it easy to use in >>> java typing model. >>> >>> On Wednesday, July 18, 2012 4:52:32 AM UTC+2, MAQ wrote: >>>> >>>> Hi, >>>> >>>> I hope the question is clear, I'm a total GWT newbie. My project >>>> requires the use of some of Google's APIs. Two main solutions are provided >>>> one for XML and another for JSON (gdata-java-client and >>>> google-api-java-client). >>>> >>>> Which one would be more suitable (easier, more compatible etc.)? Or is >>>> it a mere personal choice? >>>> >>>> Regards, >>>> Mo >>>> >>> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wWpftg3kSskJ. 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/google-web-toolkit?hl=en.
