Wednesday, July 18, 2012

Re: When one has the option to use XML or JSON to communicate with JS libraries, which one would be better?

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/-/12xUTNc6vroJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate