.\" Man page generated from reStructuredText .\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "AJSONRPC" "1" "Mar 16, 2026" "1.2" "ajsonrpc" .SH NAME ajsonrpc \- ajsonrpc Documentation .INDENT 0.0 .TP .B Source code \% .UNINDENT .SH CONTENTS .SS Differences: ajsonrpc vs json\-rpc .sp \fIajsonrpc\fP is a successor of json\-rpc \% library. It is written by the same team of developers and aims to keep as much compatibility between two libraries as possible. .sp While json\-rpc was written to support both JSON\-RPC 1.1 and JSON\-RPC 2.0 as well as a wide range of Python implementations 2.6, 2.7, 3.2+, ajsonrpc focuses on modern Python 3.5+ features and only supports JSON\-RPC 2.0. Some of the new features used in ajsonrpc: .INDENT 0.0 .IP \(bu 2 Async/Await syntax .IP \(bu 2 Low level asyncio protocol implementation .IP \(bu 2 Type Annotation .UNINDENT .sp Detailed differences: .INDENT 0.0 .IP \(bu 2 request/response renaimed to JSONRPCReqest and JSONRPCResponse as there is no support for previous protocol versions. .IP \(bu 2 request/response/error classes were moved to core module. .IP \(bu 2 Use \fIid\fP instead of \fI_id\fP .IP \(bu 2 Drop JSONRPCBatchRequest and JSONRPCBatchResponse objects. Manager could handle batch requests without a need of special classes. .IP \(bu 2 Manager by default accepts request and returns response coroutine instead of accepting string and returning string. .UNINDENT .SH Author Kirill Pavlov .SH Copyright 2019, Kirill Pavlov .\" End of generated man page.