Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JsonOutputについて

662 views

Published on

JGGUG合宿2011のLTで発表した内容のスライドです。

Published in: Technology
  • Login to see the comments

  • Be the first to like this

JsonOutputについて

  1. 1.   ◦    SVF 2 ◦  ( ) ◦  SVF RDE  ◦  Java, Flex/ActionScript  E-mail:toby55kij@gmail.com  Twitter:toby55kij 2011/11/05
  2. 2.   JsonOutput 2011/11/05
  3. 3.   groovy.json.JsonBuilder ◦  JSON Builder  groovy.json.JsonSlurper ◦  JSON  groovy.json.StreamingJsonBuilder ◦  Writer JsonBuilder ◦  1.8.1 2011/11/05
  4. 4.   groovy.json.JsonOutput ◦  JSON  ◦  List Map JSON ◦  JSON 2011/11/05
  5. 5.   List Map JSON ◦  JsonOutput.toJson([one:1, two:2])   ⇒{"one":1,"two":2} ◦  JsonOutput.toJson([1, 2])   ⇒[1,2] ◦  JsonOutput.toJson {one 1; two 2}   ⇒{"one":1,"two":2} ◦  ⇒ JsonBuilder#toString()  JSON ◦  JsonOutput.prettyPrint({"one":1,"two":2}) ◦  ⇒JsonBuilder#toPrettyString() 2011/11/05
  6. 6.   Gist ◦  https://gist.github.com/1341193 ◦  GDK48   JSON   1 2011/11/05

×