3 ms·
Makes more sense to compare it to gRPC at least: REST is not a standard, and JSON-over-HTTP doesn't offer enough to be worth a discussion. Does JSONRPC have to
by Kinrany 3y ago
Makes more sense to compare it to gRPC at least: REST is not a standard, and JSON-over-HTTP doesn't offer enough to be worth a discussion.
Does JSONRPC have tooling for generating clients or API documentation?
- mirekrusin 3y agoClient is something like 20 LoC in js with `ws` npm? You mean typed client with runtime assertions, cross language spec etc, right? That's what I mean, people should be discussing jsonrpc with joi vs zod vs jsonschema, their runtime overhead, cross language support, codegen support etc. Short answer is whatever currently we have for json will work. There is no point in complicating things.