GitHub user Simon24601 opened a pull request:
https://github.com/apache/avro/pull/97
AVRO-1849 Fix C++ schema to JSON converter
A ValidSchema with no records produced invalid JSON when converting to JSON
in C++. This is now fixed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Simon24601/avro master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/97.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #97
----
commit a2718fed6f8e32073ae71292b49d843adb65643d
Author: Simon Woodford <[email protected]>
Date: 2016-05-23T23:22:33Z
AVRO-1849 Fix the issue where converting the schema of a record with no
fields produced an invalid JSON
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---