New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVRO-1746 - Support JSON encoding in Ruby #56
Conversation
# -*- encoding: utf-8 -*- | ||
# stub: avro 1.9.0.pre1 ruby lib | ||
|
||
Gem::Specification.new do |s| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gemspec is built using Echoe in the Rakefile. Could you merge your changes into there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created it using rake build_gemspec
. I've removed it for now.
- Use 80 as line length
Hello, I've tried the code - it look real good - and i've had problems with the binary encoder |
@YuvalNaturalInt do you mean you have problems with the binary encoder in this branch? If yes, I would be happy to look into it if you could share more info about it. |
@yadavsaroj, this was closed as part of the process to move the project to git. I can't re-open it but you probably can. Seems like a good reminder to get this closed out! |
I would like this PR to be merged... |
Also fix a bug where GenerateAvroProtocolTask can't be used without a runtime configuration
Adds support for JSON encoding in Ruby.
A note about implementation - in order to keep the patch minimum, I have made json encoder/decoder inherit from binary encoder/decoder. As part of future changes, may be we can define generic encoder/decoder base classes and have binary/json classes add specific implementations. After that's done, we might be able to DRY validation related logic.