node-avro-io
node-avro-io copied to clipboard
Sample code
Hello, Just wondering if you could create a few more examples to help with learning. I'd love to see something that mimics the examples on the avro 'getting started' page (http://avro.apache.org/docs/current/gettingstartedjava.html).
I'm excited about trying it out, Thanks!
Hi there
Yes I do plan do add some more examples and could easily translate the java example from the main avro page that you linked, but for now I suggest you look at the tests as they are pretty comprehensive and cover every type that you can serialise as well as complex / compound types.
Thanks for the reply. I was able to serialize and deserialize a simple .avsc file, but I was getting errors when I included unions in my schema. Just wondering if I may have overlooked something. I used the user.avsc example from this page: http://avro.apache.org/docs/current/gettingstartedjava.html
It seems that you may be onto something big as it appears that quite a few people on the net are looking for a javascript implementation of avro. If I can help with documenting examples I'd be willing to do that, but I must admit that I'm new to both Node and Avro.
Thanks again, Niall Kader
On Tue, Apr 9, 2013 at 2:31 AM, jamesbrucepower [email protected]:
Hi there
Yes I do plan do add some more examples and could easily translate the java example from the main avro page that you linked, but for now I suggest you look at the tests as they are pretty comprehensive and cover every type that you can serialise as well as complex / compound types.
— Reply to this email directly or view it on GitHubhttps://github.com/jamesbrucepower/node-avro-io/issues/1#issuecomment-16098247 .