News for hackers. Stuff that matters.
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?

Re:JSON Schema bundling formalised by dnautics on Friday September 10, 2021 @12:53PM (#28484203)
not all jsonschema validators are codegen/macros, so some of them are relatively unperformant and come with a lot of code baggage.