| Issue 289: | JSONリクエストの取り扱い |
‹ Prev
39 of 39
|
| 1 person starred this issue and may be notified of changes. | Back to list |
Pageクラスの引数で、JSONを指定のインスタンスに変換したものが取り扱いたいですが、今は機能がないので何かしら方法を考える。
(t2-colort2witterでためしにGsonを使ったやつを作ってみます)
commonsのJsonSerialiserでevalした結果を、Pageクラスの引数のクラスに詰め替えるのがあればよいかも。
public Navigation doAjax(@JsonObject HogeDto dto){
}
とかで、@JsonObjectのResolverで解決するようなやつ。
|