amitbatajoo / opensocial-java-client

Automatically exported from code.google.com/p/opensocial-java-client
Apache License 2.0
0 stars 0 forks source link

consider using GSON or XStream in opensocial-java-client #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

As discussed on the mailing list:

- GSON and XStream are libraries that enable applications to map JSON strings 
to Java objects.

    http://xstream.codehaus.org

    http://code.google.com/p/google-gson

 - XStream can handle JSON and XML.    GSON is a JSON only solution

Caveat: XStream's JSON support relies on Jettison.  Jettison relies on StAX.  
StAX isn't supported 
on Android 1.0

Original issue reported on code.google.com by pdxj...@gmail.com on 4 Dec 2008 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by apijason...@gtempaccount.com on 18 Mar 2009 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by apijason...@gtempaccount.com on 18 Mar 2009 at 9:54

GoogleCodeExporter commented 9 years ago
Actually after trying all the different JSON implementations, I find json-lib 
does a
good job and is very solid when it comes to converting arrays of array json 
objects,
for me is a 1+.

Here is my implementation.

Original comment by anim...@gmail.com on 2 Oct 2009 at 6:06

Attachments: