DEV Community

Rocky LIU Yan
Rocky LIU Yan

Posted on

2

Best Three Open Source JSON RPC Projects(Kiota, Hono, tRPC) -- easier to dev client json code

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

Image description

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (1)

Collapse
 
rockfire profile image
Rocky LIU Yan
👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay