Skip to content

Instantly share code, notes, and snippets.

@osima
Created August 22, 2011 08:50

Revisions

  1. @mindboard mindboard created this gist Aug 22, 2011.
    2 changes: 2 additions & 0 deletions jsonPrettyPrint.groovy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    json = '{"twitter":"@osima.jp","web site":["http://osima.jp/","http://www.my-notebook.net/"]}'
    println groovy.json.JsonOutput.prettyPrint(json)