Re: Avro JSON Encoding

2024-04-19 Thread Andrew Otto
> There's probably a nice balance between a rigorous and interoperable (but less customizable) JSON encoding, and trying to accommodate arbitrary JSON in the Avro project. For my own purposes, I'd only need a very limited set of JSON support. For event streaming, we limit JSONSchema usages to thos

Re: Avro JSON Encoding

2024-04-19 Thread Clemens Vasters via user
Thank you, Ryan. I am specifically trying to avoid JSON specific attributes that would not be otherwise useful (hence "const" and "displayname") and I do indeed imagine the alternate encoding to be selected by a new switch on the encoders. Gesendet von Outlook für iOS ___

Re: Avro JSON Encoding

2024-04-19 Thread Ryan Skraba
Hello! A bit tongue in cheek: the one advantage of the current Avro JSON encoding is that it drives users rapidly to prefer the binary encoding! In its current state, Avro isn't really a satisfactory toolkit for JSON interoperability, while it shines for binary interoperability. Using JSON with A