Re: [jackson-user] JsonIdentityInfo and serializing ObjectId references - expected a field name

2016-07-13 Thread Tatu Saloranta
This definitely sounds like a bug in Jackson; exception itself indicates that the state Jackson databind thinks it is in (wrt what is to be written) differs from what low-level JSON generator thinks. If possible, could you file a bug at https://github.com/FasterXML/jackson-databind/issues but id

[jackson-user] JsonIdentityInfo and serializing ObjectId references - expected a field name

2016-07-13 Thread Jeff Quandt
I'm using Jackson 2.8.0 to serialize some JPA Entities over a REST API with Spring Data REST. I'm having a problem with serializing an Array of Entities that contain references to the same child object. All objects are using JsonIdentityInfo as below, where the key property is a Long @Id field.