Friday August 07, 2009
TOTD #91: Retrieve JSON libraries using Maven dependency: json-lib
So you need to include JSON
libraries in your Maven project. The only option that seems to be
currently available is using json-lib
with the following dependencies:
|
<dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> <version>2.3</version> <classifier>jdk15</classifier> </dependency> |

Posted by Arun Gupta in web2.0 | Comments[6]
|
|
|
|
|
Today's Page Hits: 6638
Total # blog entries: 1009
| « December 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
5 | ||||||
6 | 8 | 9 | 10 | 11 | 12 | |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | ||
| Today | ||||||
I use http://code.google.com/p/google-gson/ which also has a Maven repo available.
Posted by Mikael Gueck on August 07, 2009 at 03:30 AM PDT #
"The only option that seems to be currently available is using json-lib ..." Gson library is available at gson.googlecode.com/svn/mavenrepo
Posted by Michael Krasnovsky on August 07, 2009 at 03:30 AM PDT #
wow, very nice and incredible post about _.
i visited many blogs but couldn't find
such valuable info. i will definetly add
this to my blogroll.
Posted by Cheap Tickets on August 11, 2009 at 02:50 AM PDT #
I am common with all these but it all looks completed at this time of the day, but thanks for the great info..
Posted by Payday Loans on August 13, 2009 at 03:31 PM PDT #
In addition to json-lib and google-gson, Jackson (http://wiki.fasterxml.com/JacksonHome) is a Java JSON library with Maven artifact (group 'org.codehaus.jackson', ids 'jackson-core-asl' and 'jackson-mapper-asl').
And since there are a dozen other java libs, it's possible others might have Maven artifacts too. So not quite sure where "only json-lib is available" idea came from, but it's not quite true.
Posted by Cowtowncoder on September 23, 2009 at 08:53 PM PDT #
That's what was Googlable in the first few links, and that's where it came from :)
Posted by Arun Gupta on September 23, 2009 at 09:01 PM PDT #