Re: [jackson-user] Convert object to

10 views
Skip to first unread message
Message has been deleted

Tatu Saloranta

unread,
Mar 13, 2020, 12:07:50 PM3/13/20
to jackson-user
On Fri, Mar 13, 2020 at 8:09 AM Matej <matej...@gmail.com> wrote:
>
> Hello everyone. I am having some problems. I dont know how to print JSON of avro schema and HATEOAS links in response. This response is a normal object and not an avro schema:
>
> {
> userData: <avro schema>,
> links: <HATEOAS links>
> }
>
> Currently, i am getting the following error:
>
>> org.codehaus.jackson.map.JsonMappingException: Not a map:
>
> What does this error mean? Is there a better way to return the response?

It is difficult to say much without seeing actual code you are using.

-+ Tatu +-
Reply all
Reply to author
Forward
0 new messages