How to marshall/unmarshall object type when getting values from DynamoDB
<p>I have a DynamoDB table in which I have columns. Two of them will always have the same datatype while one column's datatype will vary. How can I unmarshall/marshall it when using DynamoDB. Below is my DTO.</p>

<pre><code>private Integer id;
private String name;
private Object value;
</code></pre>

<p>It is not allowing directly to map "value" field and throwing an exception.</p>

<p>Please help me in this regard.</p>