Custom Object Mapper settings in Java Client

Vitaly E 13vitamins at
Mon Feb 22 04:54:58 EST 2016

Hi Cosmin,

Have a look at com.basho.riak.client.api.convert.ConverterFactory. It's a
singleton, you can register a custom converter there (the default for
classes other than String and RiakObject is

It's also possible to pass a custom converter to the FetchValue API, for
instance via

I think this is the right way to add custom serialization.


On Mon, Feb 22, 2016 at 11:29 AM, Cosmin Marginean <cos.marginean at>

> Hi
> I presume that Riak Java client is using Jackson for JSON-to-POJO and vice
> versa.
> Is there a way to easily inject a custom object mapper there? Or at least
> to get a reference to it in order to add custom serializers?
> Thank you
> Cosmin
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list