-
-
Save idletekz/709a85e6a226a8e932c82d6230904ca3 to your computer and use it in GitHub Desktop.
json pretty print using groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json = '{"twitter":"@osima.jp","web site":["http://osima.jp/","http://www.my-notebook.net/"]}' | |
println groovy.json.JsonOutput.prettyPrint(json) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment