Hello,
I'm trying to serialize json to avro and back also I'm using fields having
decimal logical type, so I'd like to have possibility to provide json with
normal numbers for serializer and receive equal json from deserializer. And
I was hoping that Conversions.DecimalConversion() will help me
Hi,
I'm using C++ avro library to serialize json data and schema to avro
bytecode and vice versa. I utilize jsonDecoder+binaryEncoder and
binaryDecoder+jsonEncoder for this. Some of data includes logical decimal
types and now my serializer and deserializer can only receive and return
hexademical c
Hi,
I have some strange problem on remote Windows server that I cannot reproduce
locally - when I try to deserialize avro bytecode containing Long field to
json using avro::binaryDecoder + avro::jsonEncoder I get some strange
excessive bytes in resulting json - it's code equal to -96 (unprintab
Subject: Re: Serialization with optional fields using C++ library
I only skimmed this, but the schema should read "default", not "defaults". I've
no idea if that's the only issue.
J
On Wed, Dec 22, 2021 at 8:40 AM Anton mailto:anton...@yandex.ru> > w
, December 22, 2021 3:24 PM
To: user@avro.apache.org
Subject: Re: Serialization with optional fields using C++ library
Hi Anton,
I don't see any unit tests / examples for this at
https://github.com/apache/avro/tree/master/lang/c%2B%2B/ test|examples, so I
guess it is not implemente
Hello, I have problem with serialization of data having optional fields.
When I pass null in corresponding field it works but when it is non-null
then serialization fails.
Schema:
{
"type": "record",
"name": "schema",
"namespace": "space",
I found out that those excessive ‘\’ char before universal character names is
added by method doEncodeString of JsonGenerator Class (JsonIO.hh).
Should I manually replace “\\u“ with “\u” or it is possible to prevent such
escaping somehow?
From: Anton [mailto:anton...@yandex.ru]
Sent
pache.org
Subject: Re: How to use avro::jsonEncoder with unicode symbols?
Hi Anton,
Which Avro module do you use ? Java, Python, ... ?
Please show us your code!
On Tue, Oct 19, 2021 at 6:03 PM Anton mailto:anton...@yandex.ru> > wrote:
Hello,
I’m trying to deserialize avro data to
Hello,
I'm trying to deserialize avro data to json and now I can't properly receive
non-ASCII symbols from encoder. In OutputStream of encoder I'm seeing
Unicode codes like \\u042a in place of non ASCII symbols.
How to properly translate this data to Unicode strings?