Re: [jackson-user] Deserializer priority?

2018-12-29 Thread Tatu Saloranta
On Sat, Dec 29, 2018 at 3:01 PM Mike Summers wrote: > > I have a Spring Boot (2.1.1) app that is modeling ActivityStreams objects and > for the most part Jackson's (2.9.7) Polymorphic Deserialization works well. > > > There are 'objects' in the JSON which are references (links) and not JSON >

[jackson-user] Deserializer priority?

2018-12-29 Thread Mike Summers
I have a Spring Boot (2.1.1) app that is modeling ActivityStreams objects and for the most part Jackson's (2.9.7) Polymorphic Deserialization works well. There are 'objects' in the JSON which are references (links) and not JSON objects with

[jackson-user] Deserializer priority?

2018-12-29 Thread Mike Summers
I have a Spring Boot (2.1.1) app that is modeling ActivityStreams objects and for the most part Jackson's (2.9.7) Polymorphic Deserialization works well. There are 'objects' in the JSON which are references (links) and not JSON objects with

[jackson-user] object mapper is not serializing AtomicLong

2018-12-29 Thread MV
Hi There I have ID's in my POJO objects using AtomicLong for auto generation of ID's in a thread safe environment. I use ObjectMapper.writeWithPrettyWriter().writeValueAsString(pojo). I notice in the output that the fields marked as AtomicLong are not written out. I apologize for the wrong

[jackson-user] How to append single json strings to an existing file?

2018-12-29 Thread MV
Hi there, I am using Akka Actor framework to receive messages as Java objects. When I receive the message, I do the following: (1) Use ObjectMapper.withPrettyWriter().writeValueAsString() (2) Open a file and use java.nio.Files API to write to the file. When I write to the file, I use