Serialize with Jackson up to a Certain Depth in Nested Arrays Serialize with Jackson up to a Certain Depth in Nested Arrays json json

Serialize with Jackson up to a Certain Depth in Nested Arrays


Since noone has responded with an answer: For this issue, since I was exposing a REST API, I ended up creating some non-recursive wrapper objects to hold the resulting value, so that Jackson could parse it easily. This is probably the best practice in the field. This was a Hackathon project, so I was looking for the quickest fix originally.