JSONICを使うと、任意のJavaBeanをJSONにさくっと変換できます。 // テスト用クラス static final class Kitten { private String name; private int age; public Kitten() {} public Kitten( String name, int age ) { this.name = name; this.age = age; } public final String getName () { return name; } public final void setName ( String name ) { this.name = name; } public final int getAge () { return age; } public final void setAge ( int ag