Use boon,jackson or some other json parser to parse it into an object.
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On 19 August 2015 at 15:20, Tom Smith <tomsmith1989sk(at)gmail(dot)com> wrote:
> Hi:
>
> I am trying to convert to a Java or Map object
> from resultset with a jsonb column.
> Currently, I am using
>
> String jsonString = resultSet.getString("jsonb_column_name")
>
> then I convert from jsonString to a Map<String,Object> or a Java class
> object.
>
> This is obviously inefficient. What would be most efficient (not too
> complicated)
>
> Thanks in Advance
>