ssues. I can work on that early next week.
>
> Best Regards
> Clemens
>
> --
> *Von:* Jean-Baptiste Onofré
> *Gesendet:* Donnerstag, April 18, 2024 10:58 AM
> *An:* Clemens Vasters
> *Cc:* Jean-Baptiste Onofré ; user@avro.apache.org <
> user@a
n down into individual feature issues. I can work on that
early next week.
Best Regards
Clemens
Von: Jean-Baptiste Onofré
Gesendet: Donnerstag, April 18, 2024 10:58 AM
An: Clemens Vasters
Cc: Jean-Baptiste Onofré ; user@avro.apache.org
Betreff: Re: Avro JSON En
sendet: Tuesday, April 23, 2024 1:10:16 PM
> An: user@avro.apache.org
> Betreff: Re: Avro JSON Encoding
>
> Sie erhalten nicht oft eine E-Mail von opw...@apache.org. Erfahren Sie, warum
> dies wichtig ist <https://aka.ms/LearnAboutSenderIdentification>
> Hi every
Westra van Holthe - Kind
Gesendet: Tuesday, April 23, 2024 1:10:16 PM
An: user@avro.apache.org
Betreff: Re: Avro JSON Encoding
Sie erhalten nicht oft eine E-Mail von opw...@apache.org. Erfahren Sie, warum
dies wichtig ist<https://aka.ms/LearnAboutSenderIdentification>
Hi everyone,
Having l
at 11:58 AM Ryan Skraba <mailto:r...@skraba.com>> wrote:
>> 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
rg/wiki/Event_Platform/Schemas/Guidelines#No_union_types_/_No_null_values>*,
etc. etc.
On Fri, Apr 19, 2024 at 11:58 AM Ryan Skraba wrote:
> Hello!
>
> A bit tongue in cheek: the one advantage of the current Avro JSON
> encoding is that it drives users rapidly to prefer the bin
t;https://aka.ms/o0ukef>
Von: Ryan Skraba
Gesendet: Friday, April 19, 2024 5:57:37 PM
An: user@avro.apache.org
Cc: Clemens Vasters
Betreff: Re: Avro JSON Encoding
[Sie erhalten nicht häufig E-Mails von r...@skraba.com. Weitere Informationen,
warum dies wichtig is
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
quot;,
"const": "cat"
},
... cat things ..
]
},
{
"type":"record",
"fields": [
{
"name": "typename",
"displayname": "$type
o it’s easy to mandate base64 for the field content in the
> alternate mode.
>
>
>
> 2. Unions with Primitive Type Values and Enum Values
>
> -
>
>
>
> It’s common to express optionality in Avro Schema by creating a union with
> the “null” type
I literally do the “FWIW” here:
https://github.com/clemensv/avrotize?tab=readme-ov-file#convert-json-schema-to-avro-schema
From: Andrew Otto
Sent: Thursday, April 18, 2024 2:24 PM
To: user@avro.apache.org
Cc: Clemens Vasters
Subject: Re: Avro JSON Encoding
Sie erhalten nicht oft eine E-Mail
gt;>
>>
>> The common way to encode binary in JSON is to use base64 encoding and
>> that is widely and well supported in libraries. Base64 is 33% larger than
>> plain bytes, the encoding chosen here is 500% (!) larger than plain bytes.
>>
>>
>>
>>
ril 18, 2024 10:17 AM
> To: Clemens Vasters ; user@avro.apache.org
> Subject: Re: Avro JSON Encoding
>
>
>
> Hi Clemens
>
>
>
> Thanks for the detailed email.
>
>
>
> Quick question : did you already create Jira about each improvements/issues ?
>
>
>
024 10:17 AM
To: Clemens Vasters ; user@avro.apache.org
Subject: Re: Avro JSON Encoding
Hi Clemens
Thanks for the detailed email.
Quick question : did you already create Jira about each improvements/issues ?
I will take the time to read asap.
Thanks
Regards
JB
Le jeu. 18 avr. 2024 à 09:12,
>
>
> 2. Unions with Primitive Type Values and Enum Values
>
> -
>
>
>
> It’s common to express optionality in Avro Schema by creating a union with
> the “null” type, e.g. [“string”, “null”]. The Avro JSON Encoding opts to
> encode such unions, l
s/resources/discriminator/#property-outside-of-the-object).
What that means is that most existing JSON instances with ambiguous types will
either use property discriminators or the implementation will rely on duck
typing as JSON Schema does for validation. The Avro JSON Encoding approach is
rare and
16 matches
Mail list logo