10
Better than JSON (aloisdeniel.com)

And I find it surprising that JSON is so omnipresent when there are far more efficient alternatives, sometimes better suited to a truly modern development experience. Among them: Protocol Buffers, or Protobuf.

top 4 comments
sorted by: hot top controversial new old
[-] JakenVeina@midwest.social 13 points 1 week ago

I enjoyed my brief time with gRPC and protobuf, when I was trying them out, and I'd happily use them again, but I think it's obvious why JSON and REST are more dominant.

For one, gRPC works great for simple server/client apps, but it makes them VERY tightly coupled. If your product is an API itself, open for public use, tight coupling is a hindrance more than a benefit.

And more to the point... have you ever tried to DEBUG gRPC traffic? The efficiency of gRPC is top notch, t optimizes for serialization, deserialization, and bandwidth, all at once. But JSON is human readable, and when you throw in HTTP compression, the efficiency is close enough to protobuf to serve the vast majority of scenarios. JSON is just far more practical.

[-] dajoho@sh.itjust.works 6 points 1 week ago

Completely agree with every one of those points. JSON has killed everything, with good reason.

[-] onlinepersona@programming.dev 1 points 1 week ago

Rust Object Notation FTW!

[-] refalo@programming.dev 5 points 1 week ago

I find it surprising that JSON is so omnipresent when there are far more efficient alternatives

Do you also find it surprising that different types of food exist? /s

this post was submitted on 17 Dec 2025
10 points (81.2% liked)

Web Development

4911 readers
44 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS