Chris ,

Sure - just go here http://www.json.org/ and get the JSON library for 
whatever language you are using. It will take an incoming JSON object 
and translate it to an array in your language of choice. you can then 
act on it with (say php) do some stuff, and take your new array 
(generated w/ PHP) and convert it back to a JSON object and send it back 
to the browser.

Will
> Hi there
>
> I'm just getting my head around the whole JSON thing, so please excuse 
> my ignorance.
>
> For a while now I've been successfully fetching JSON data from the 
> server via ajax and using it in jquery. My question regards sending 
> data from the client to the server. The $.post and $.get methods are 
> limited to taking in a hash of key:value's, I assume because that's 
> what the http GET and POST expect.
>
> My question is, is there a way to send more complex data structures - 
> ie fully qualified JSON objects? Is there a way to serialise a JSON 
> object for submission to the server where it can be decoded?
>
> This is probably not a strict jquery question, but any help would be 
> appreciated :)
>
>
> Cheers,
>
> Chris
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>   


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to