Jackson Error Unexpected character (‘}’ (code 125))

If you use json validator, you can see more detailed error message:

Parse error on line 6:
...ntry",            },    {        "id
---------------------^
Expecting 'STRING'

you have extra comma there after "xx-xx-xxxx,x - street, x - country". If you remove it from both two places, you have valid JSON and Jackson parsing works.

Leave a Comment

tech