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

Add JSON writer #47 [JIRA: RIAK-1486] #47

Merged
merged 7 commits into from
Mar 10, 2015
Merged

Conversation

nickelization
Copy link
Contributor

This PR adds a JSON writer module to clique. It is only enabled at startup if the mochijson2 module can be found. It can be used by specifying --format=json on the command line.

@Basho-JIRA Basho-JIRA changed the title Add JSON writer Add JSON writer #47 [JIRA: RIAK-1486] Jan 20, 2015
@Basho-JIRA
Copy link

#47

_[posted via JIRA by Nick Marino]_

@andrewjstone
Copy link
Contributor

@nickelization This code looks great and works like a charm! The only suggestion I have is maybe adding a newline after the output. I'm not sure if that causes problems with json parsing, but it will make things look nicer on the cli or redirects to files.

@andrewjstone
Copy link
Contributor

👍 a91239d

borshop added a commit that referenced this pull request Jan 27, 2015
Add JSON writer #47 [JIRA: RIAK-1486]

Reviewed-by: andrewjstone
We need to return a 2-tuple with iolists for stdout and stderr to
conform to the new clique_writer API.
@andrewjstone
Copy link
Contributor

👍 a646e7f

borshop added a commit that referenced this pull request Mar 10, 2015
Add JSON writer #47 [JIRA: RIAK-1486]

Reviewed-by: andrewjstone
@nickelization
Copy link
Contributor Author

@borshop merge

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

Successfully merging this pull request may close these issues.

4 participants