Re:JSON Schema bundling formalised
by espadrine on Friday September 10, 2021 @09:47AM
(#28481498)
One thing I am wondering is whether the protobuf folks have a better development environment overall, or a worse one. Is the schema-to-self-validating-serialization-code approach going to win just as JSON won over XML?
[ Parent
| on HN ]
Re:JSON Schema bundling formalised
by SV_BubbleTime on Friday September 10, 2021 @10:37AM
(#28482171)
This is what I was thinking, but no, skeptical. Protobufs are far more efficient, but dump the human readability for the data transfer, and that is where the logging and debugging happen quite a bit.
As to code generation, if you use someone’s package for confirm_my_schema(thisjson) isn’t that basically code generation just moved somewhere else?