basho/riak-java-client — pull request #130 by broach (2012-05-18 21:43:28+00:00)
Title: public fields without getters annotated with Riak annotations are now excluded from JSON serialization

Jackson prefers getters for serialization. Our code acted correctly when that was the case and the getter was for a Riak annotated field.

In the absence of a getter, we had a bug where we were not looking for our annotations in the right place (in the Jackson API). This PR fixes that and will now properly exclude our fields. A test is included.