django-modern-rpc icon indicating copy to clipboard operation
django-modern-rpc copied to clipboard

Configurable backends

Open alorence opened this issue 8 months ago • 0 comments

With v2 currently in development, the code become more modular.

It will be possible to select a specific XML-RPC serialization or deserialization backend, and similarly for JSON-RPC.

Up to v1.1, the XML-RPC handling used a mix of hand written code and builtin xmlrpc.client tools to parse and unparse XML-RPC requests. For JSON-RPC, builtin json module were used.

With v2, the following backend are planned :

XML-RPC

  • [x] Builtin xmlrpc module
  • [x] Third party xmltodict
  • [ ] Builtin lxml
  • [ ] Builtin etree
  • [ ] ... others ?

JSON-RPC

  • [x] Builtin json module
  • [x] Third party simplejson
  • [ ] Third party RapidJSON
  • [ ] ... others ?

Please comment on this issue if you need specific config for selectable backends

alorence avatar Mar 02 '25 13:03 alorence