Skip to content

Instantly share code, notes, and snippets.

@easylogic
Created December 23, 2014 18:51
Show Gist options
  • Save easylogic/2ec20b7dd5b72dcfc72c to your computer and use it in GitHub Desktop.
Save easylogic/2ec20b7dd5b72dcfc72c to your computer and use it in GitHub Desktop.
자바에서 json 형태로 코딩하기
String json = "{
width : 800,
height : 800,
padding : 'empty',
grid : {
x : { type : 'block', target : 'name' }
}
} ";
ChartBuilder c = new ChartBuilder(json);
System.out.println(c.render());
@easylogic
Copy link
Author

JSONObject
JSONArray 를 랩핑하지 말고 쓰는게 맞는 것인가?

괜히 랩핑했나?

매번 캐스팅 비용이 들어가는데 흠 ㅡㅡ;

@easylogic
Copy link
Author

javascript 버전도 coffeescript 로 계속 만들어야하나?

흠 ㅡㅡ; 이걸 언제 다 구현하나 ㅡㅡ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment