← Back to team overview

openerp-community team mailing list archive

JSON RPC example (was: proposal to discuss forking...)

 

Quoting "Fabien Pinckaers" <fp@xxxxxxxxxxx>:
Trunk is already in JSON-RPC (for javascript to python) then normal
method calls (for python web controller to openerp server).

Are there any example scripts (ideally in Python) to use JSON RPCs?

E.g. what would the JSON RPC example look like for:

http://doc.openerp.com/v6.0/developer/6_22_XML-RPC_web_services/index.html#demo-script

OK, one would start with "import json" instead of "import xmlrpclib" :~)

Many thanks in advance!

(I'm using the nightly builds from trunk, btw.)



References