Questions tagged as 'jackson'

1
answer

Can not deserialize instance of java.util.ArrayList out of START_OBJECT token

Using angular, I am not able to insert an array of genres into the Gender property that is in the Manga object. Using postman to insert the Generos array into the API / manga would look like this. { "nome": "BORUTO", "status": "...
asked by 20.11.2017 / 16:31
1
answer

JSON Data format

Hello, I have a webservice that needs to fetch some data in the database and return a json object and I'm having problems with the date. here is the object import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.dat...
asked by 10.10.2017 / 22:11
0
answers

Deserialize List with java (Spring Boot).

Good afternoon, I'm skirting the typical problem of jackson recursion in a Many-to-Many relationship in Spring Boot, with Custom Deserialize and Custom Serializer. My problem is in Custom Deserialize I need to deserialize this: { ......
asked by 21.12.2018 / 14:37
0
answers

Jackson and json array

All good people? I'm killing my head for a few days but without success. I need to insert information into the DB that comes through JSON. It turns out that when an array comes, it does not want to insert. Explain better: In the domain,...
asked by 27.06.2018 / 04:24
1
answer

Error with.fasterxml.jackson.databind.JsonMappingException

Error shown: 04-25 14:01:32.589: I/Recebendo pela rede(31129): [{"id":"ab788cdc439","codcnesEquipe":"0","codcnesUnidade":"2161303","microarea":"00","nrcartaosus":"207283333540000","area":"0000","cbo":"322415","ativo":"1","datareg":"2016-09-22...
asked by 25.04.2018 / 19:23
1
answer

Map json using jackson

I have a question on how to map a json to a model, I really have no idea which side to go to, I saw some material on the internet, but what I really lack is to really understand how it works there on the jackson part. my code is below, who can h...
asked by 17.04.2018 / 02:44
1
answer

JSON parse error

I'm developing a web application (Spring) and need to save a date in the database. I have done a Ajax function to save the value, however I get the following error:    JSON parse error: Can not deserialize value of type   java.time.Loc...
asked by 07.02.2018 / 19:30