clarencen/lshift — Issue #314: Centralize all JSON serialization
Author: clarencen
Created: 2011-11-14 22:42:29+00:00
State: open

Currently, JSON serialization is performed in a variety of places:

* JSONEncodingUtils
* AbstractJSONHandler
* ChangesHandler
* ChangesRestClient
* ParticipantHandler
* ParticipantRestClient

These usages should all be in one central place, i.e. the JSONEncodingUtils.

Futhermore, we currently use a mixture of Jackson and Jettison, for various reasons. It might be a good idea to see whether one of those libraries can be eliminated. Whilst the version of Jackson that we currently use (1.5.3) doesn't support Scala collections OOTB, there appears to be some development in this area (see http://jira.codehaus.org/browse/JACKSON-211).