zauberlabs/gnip4j — pull request #18 by derrickburns (2012-12-05 22:14:03+00:00)
Title: Changes to support manual creation of Activity objects and serializing Activity objects to Gnip-compatible JSON

Thank you for a great package! I found the need to make changes to the code to support my requirements 1) to construct Activity objects manually and 2) to serialize Activity objects back to JSON that is identical to the input JSON from Gnip.

Here is a summary of the changes that I made:

Several objects in gnip4j have private fields with no-argument constructors and no setters. I added setters to these objects to enable me to construct those objects with fields properly assigned.

I use the newer www.fasterxml Jackson 2.0 implementation, which required me to change all the Jackson related import statements and the mapper definition statements.

I changed utcOffset to be a String instead of an int. This is in keeping with the Gnip definition.

Finally, I eliminated Mule from my fork, and changed the POM to use my groupid. You should ignore those changes.