Best Three Open Source JSON RPC Projects(Kiota, Hono, tRPC) -- easier to dev client json code
Rocky LIU Yan
Posted on May 23, 2024
Recommend Project: Kiota, Hono, tRPC
There are two good benefits:
- Avoid manual alignment of JSON interfaces
- The rise of edge services blurs the lines between client/server. First and foremost is Next.js’s introduction of server actions this year.
Other JavaScript frameworks also have similar capabilities:
hono.dev,
trpc.io
They all enable front-end and back-end to call a unified set of functions, known as RPC (Remote Procedure Call). For example, client.posts.get()
Microsoft also has an open-source project named Kiota, which generates cross-language client RPC code based on OpenAPI schemas.
These libraries have similar usage patterns but different focuses.
microsoft/kiota:
Below are the client languages that Kiota can generate based on OpenAPI.
Supported languages CSharp Go Java PHP Python Ruby Swift TypeScript JavaScript
Posted on May 23, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 30, 2024