Re: [jackson-user] StackOverflowError in deeply nested JSON

2016-07-06 Thread Tatu Saloranta
Thank you! -+ Tatu +- On Fri, Jul 1, 2016 at 10:05 AM, Colin White wrote: > Thanks for the response. I'll take a closer look into the allocations on > the stack and report back. > > -Colin > > > On Thursday, 30 June 2016 22:33:41 UTC-7, Tatu Saloranta wrote: >> >> 50

Re: [jackson-user] StackOverflowError in deeply nested JSON

2016-07-01 Thread Colin White
Thanks for the response. I'll take a closer look into the allocations on the stack and report back. -Colin On Thursday, 30 June 2016 22:33:41 UTC-7, Tatu Saloranta wrote: > > 50 levels it not a lot, but at the same time, amount of state Jackson > keeps should not be big so it is bit puzzling.

[jackson-user] StackOverflowError in deeply nested JSON

2016-06-30 Thread Colin White
I'm trying to serialize a JSON object that represents a conversation tree. Here's the POJO: class Node { @JsonProperty("children") private List children; @JsonProperty("text") private String text;} Eventually the tree ends with a Node with an empty list of children. The problem is: