Skip to content

Instantly share code, notes, and snippets.

@steven-terrana
Created September 12, 2019 20:29
Show Gist options
  • Save steven-terrana/46c1632c141c6d3358b0d2ff165e494a to your computer and use it in GitHub Desktop.
Save steven-terrana/46c1632c141c6d3358b0d2ff165e494a to your computer and use it in GitHub Desktop.
[Pretty Print Groovy Map] #groovy
import static groovy.json.JsonOutput.*
def config = [
/*
some map
*/
]
println prettyPrint(toJson(config))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment