A more robust version of the Gson Java - JSON serialisation library. This can handle vague classes and circular references.
This repository is setup for SoDash's use. If you wish to use this project, please contact us.
These occur when the container doesn't specify the type, which is problematic for json.
E.g. suppose you have the Java:
class Foo {
Object x = new Bar();
}
class Bar {
String y = ":)";
}
This will produce the json:
{"x":{"y":":)"}}
Note that the type information -- that x is an instance of Bar -- has been lost.
This case happens all the time in Java, either through using interfaces or Maps. So we'd like to handle it!
This version of GSON was forked from ??
TODO now that gson has moved form Google Code to Git and GitHub -- it'd be good to fork the official repo and edit that.