How to define a protocol?

📰 Reddit r/learnprogramming

I have been working on a project that requires a JSON-RPC protocol and I don't know how to define it. First thing that came to my mind was using a protobuf file for reference, but it just does not sound right. I've been doing other stuff to avoid that part, but now it is the only thing left and I don't know what to use. I saw there is OpenRPC, but it seems kinda hard to deal with. Are there any other good options? What do you guys use?

Published 30 May 2026

Full Article

I have been working on a project that requires a JSON-RPC protocol and I don't know how to define it. First thing that came to my mind was using a protobuf file for reference, but it just does not sound right. I've been doing other stuff to avoid that part, but now it is the only thing left and I don't know what to use. I saw there is OpenRPC, but it seems kinda hard to deal with. Are there any other good options? What do you guys use?
Read full article → ← Back to Reads