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

JSON support in codec #200

Open
iam404 opened this issue Nov 23, 2018 · 2 comments
Open

JSON support in codec #200

iam404 opened this issue Nov 23, 2018 · 2 comments

Comments

@iam404
Copy link

iam404 commented Nov 23, 2018

I am using codec => "json" but the file saved into S3 are not in JSON format. I don't even see any official doc for json codec. Is this something this plugin supports ?

@marioplumbarius
Copy link

@iam404 Can you share what you expected and what is actually present in S3 after the data is uploaded?

@marioplumbarius
Copy link

marioplumbarius commented Jan 24, 2019

If you use json_lines instead of json, the output would be as follows:

{foo: "bar"}
{bar: "foo"}

Instead of:

[
  {foo: "bar"},
  {bar: "foo"}
]

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

No branches or pull requests

3 participants