pass it in POST body and then parse it with any Java JSON library (e.g.
google's gson)

On Wed, Jan 19, 2011 at 6:47 PM, Mathias Nilsson <
wicket.program...@gmail.com> wrote:

>
> I've read about how to make a json response with ajax but how do you deal
> with request.
>
> Let´s say I would interchange data between server and client.
>
> // Request
> {
>  login:{
>    "credential" : "uniquekey",
>    "username" : "user",
>   "password" : "password"
>  }
>
> }
>
> // response
>
> {
>
>    "user" : {
>       "name" : "mathias"
>   }
>
> }
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Dealing-with-JSON-request-tp3225432p3225432.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to