Send JSONObject as data to the server.

David Diaz <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <1489560412.1143154.911780688.77D51D00@webmail.messagingengine.com>
Hi everyone,

I was wondering what the best way to send a JSONObject to the server is
(and then to read it)? There is a way to send data FROM the server to
the client (e.g just return a JSONObject), but sending a JSONObject to
the server is a lot harder. Currently I'm converting the object into a
string and then base64 encoding and sending it, but is there a better
way? Especially since then you need to decode it on the server side,
which is just irritating if you do this a lot.

Thanks,
David.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.