Pretty print JSON to a file using Groovy without unicode escaping
I have been all over google and SO trying to figure out how I can pretty print JSON to a file using groovy without unicode characters getting escaped. String json = JsonOutput.toJson([name: 'Johan Söder', age: 42]) String prettyJson = JsonOutput.prettyPrint(json)…