avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Jackson and Avro, nested schema
Date Mon, 13 May 2013 23:25:52 GMT
On Wed, May 8, 2013 at 11:49 AM, David Arthur <mumrah@gmail.com> wrote:
> I have looked at the Json schema included with Avro, but this requires a
> top-level "value" element which I don't want.

There's code in Avro that will read and write Jackson JsonNode
directly, without creating any intermediate "value" structure.


One should be able to easily write a JsonParser and JsonGenerator that
read and write directly using this schema, so that Jackson's
ObjectCodec could then be used to read and write arbitrary Pojos to
Avro data files.


View raw message