It seems a shame nobody has mentioned https://github.com/jsog/jsog-jackson yet. It implements JSON Object Graph format aka JSOG. JSOG handles arbitrary graphs including circular references of any length (subject to Jackson's object nesting depth of course)