457541611c
Calling InetAddress.getLocalHost() will cause a lookup to occur that may fail with a java.net.UnknownHostException if the system the test is running on is not configured correctly. This is often fixed by echoing "127.0.0.1 $HOSTNAME" to /etc/hosts, but in this case it seems easier to pick a static IP string to avoid the lookup entirely and prevent false negatives in the test. |
||
---|---|---|
.. | ||
docs/javadocs | ||
src | ||
assembly-descriptor.xml | ||
Gson 2.1 notes.txt | ||
LICENSE | ||
pom.xml | ||
README |
Gson is a Java library that can be used to convert a Java object into its JSON representation. It can also be used to convert a JSON string into an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. Complete Gson documentation is available at its project page http://code.google.com/p/google-gson