Re: [web2py] Sending and Recieving JSON data...

2012-11-20 Thread howesc
i do a lot of: post_data = json.loads(request.body.read()) ... return json.dumps(retval) works nicely for me. :) On Sunday, November 18, 2012 10:09:15 PM UTC-8, Jonathan Lundell wrote: > > On 18 Nov 2012, at 9:54 PM, Jason Brower > > wrote: > > I still don't get it. T

Re: [web2py] Sending and Recieving JSON data...

2012-11-18 Thread Jonathan Lundell
On 18 Nov 2012, at 9:54 PM, Jason Brower wrote: > I still don't get it. To me it looks like @service.json is all about taking > data in the URL parameters and turning it into json code. I am wanting to > build the server to receive much more data than could ever be including > in that UR

Re: [web2py] Sending and Recieving JSON data...

2012-11-18 Thread Jason Brower
I still don't get it. To me it looks like @service.json is all about taking data in the URL parameters and turning it into json code. I am wanting to build the server to receive much more data than could ever be including in that URL. Or am I missing something in the documentation. http://web

Re: [web2py] Sending and Recieving JSON data...

2012-11-18 Thread Jonathan Lundell
On 18 Nov 2012, at 9:14 PM, encompass wrote: > Let's say for example I have the example code from the json website: > { > "glossary": { > "title": "example glossary", > "GlossDiv": { > "title": "S", > "GlossList": { > "Glo

Re: [web2py] Sending and Recieving JSON data...

2012-11-18 Thread encompass
Let's say for example I have the example code from the json website: { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML",

Re: [web2py] Sending and Recieving JSON data...

2012-11-18 Thread encompass
The application on the mobile devices already exists and works. I need to make many applications that work with the applications for testing and so forth. The application currently sends the JSON data to a webserver so I just want to make web2py the server instead of the "other framework". On

Re: [web2py] Sending and Recieving JSON data...

2012-11-17 Thread Marin Pranjić
JSONRPC should be used if you want to implement RPC service but if you only need to send json data, you can do it that way or another. How would you send the data? Something that works in the background or manually, from web browser? Anyway, the issue can be how to do it on your mobile device (de

[web2py] Sending and Recieving JSON data...

2012-11-17 Thread Jason Brower
I have a mobile device that sends various data using json to a server. I would like this server to be web2py. How would I do this? Am I on the right track here? http://web2py.com/books/default/chapter/29/10#JSONRPC Or am I looking in the wrong place. There will be a large amount of data sent. BR,