groovy

new JsonBuilder('<complex xml string>').toPrettyPrint() throws StackOverflowException