Ask HN: Why isn't JSON-RPC more widely adopted?
18 by vyrotek | 9 comments on Hacker News.
JSON-RPC / OpenRPC seems like a great option for APIs. Why isn't it adopted more widely? Many of the APIs of projects I've worked with look like essentially like RPC style calls. The URLs are structured as action/method names to do specific things. I like many of the benefits to an RPC approach compared to REST, GraphQL, or gRPC-Web. Unfortunately, the client code generation with popular options feels clunky when you want to use them in an RPC style. It seems like JSON-RPC would be better. https://open-rpc.org https://www.jsonrpc.org

Post a Comment

 
Top