JsonOutputについて

577 views

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
577
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

×