cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Akhtar <>
Subject Deserializing a json string directly to a java class using Jackson?
Date Tue, 11 Apr 2017 12:04:48 GMT
I have a table containing a column `foo` which is a string, and is json.

I have a class called `Foo` which maps to `foo_json` and can be serialized
/ deserialized using Jackson.

Is it possible to define the column as `private Foo foo` rather than
`private String foo` and manually deserializing it?

it looks like one just has to add that maven dependency? Does anything else
have to be done?

View raw message