Skip to content
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

Feature request: support JSONL #33

Open
dmoore247 opened this issue Oct 24, 2018 · 0 comments
Open

Feature request: support JSONL #33

dmoore247 opened this issue Oct 24, 2018 · 0 comments

Comments

@dmoore247
Copy link

Nice tool, superior to avro tools for our json format.
New features: for conversion, maybe validate, support multi-line json (jsonl) formatted json files. See http://jsonlines.org/

For each json object, in json2avro mode, convert each json object to an avro object. Store just one avro schema in the file header.
Also clean up logging output, log to stderr or add output file option so we can capture the avro output.

cat 1000object.json | java -jar json-avro-converter-snapshot.jar --mode json2avro2json |wc -l
should produce 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant