Module bjsonrpc.jsonlib

This module wraps a json library and maps their import/export methods to dumps and loads. First it tries to load simplejson and if it fails it tries json (the internal JSON library for python2.6 or newer)

bjsonrpc.jsonlib.dumps(argobj, conn)

dumps json object using loaded json library and forwards unknown objects to Connection.dumpObject function.

bjsonrpc.jsonlib.loads(argobj, conn)

loads json object using Connection.load_object to convert json hinted objects to real objects.

Previous topic

Module bjsonrpc.proxies

Next topic

Module bjsonrpc.exceptions

This Page