News for hackers. Stuff that matters.
Re:Protobuf Editions are here: don't panic by TillE on Thursday May 09, 2024 @08:48PM (#40314456)
I'm sure there's some great schema implementation that you can bolt onto JSON, but personally I have never seen anyone actually using one in the wild.

With protobuf the schema is essential, it is the foundation. I feel this is a huge advantage especially for communication protocols.

Re:Protobuf Editions are here: don't panic by VHRanger on Friday May 10, 2024 @07:05AM (#40317503)
We've used it. It's useful to define the contract between teams.

So you have 2 teams do a meeting, we work out a contract we like, dump that into a jsonschema and you can enforce by unit tests that schema is respected on each side (producer/consumer)