avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Hodges <jhod...@twitter.com>
Subject Re: C impl, getting a schema back as json C string
Date Mon, 15 Mar 2010 05:14:08 GMT
(Note, that I've passed this in memory avro_writer_t to
avro_schema_to_json and I'm just trying to get the string inside of it

On Sun, Mar 14, 2010 at 12:39 AM, Jeff Hodges <jhodges@twitter.com> wrote:
> I can't figure out the API for turning an avro_schema_t back into an
> in-memory string of json data.
> It seems I'm supposed to get it out of an avro_writer_t that I've
> created with avro_writer_memory() but I'm a little lost once we start
> having to use avro_writer_to_memory() to get back the original
> avro_memory_writer_t.
> Sample code?
> --
> Jeff

View raw message