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

Print errors and make JSON output indented #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

forsberg
Copy link

@forsberg forsberg commented Jun 4, 2014

As I'm not entirely used to the MBean world, the fact that there was no error printing at all was not so helpful :-)

In addition, the output was rather cryptic until I added some indentation. I've tested against Zabbix 2.2, and the indended/prettyprinted JSON is still accepted and used correctly.

@bunjiboys
Copy link
Contributor

Could we make the pretty print an option that is passed in from the command line instead, and defaulting it to off? While I agree that pretty printing is nice, when you are returning very large result sets it does increase the amount of data to be sent by a LOT so being able to turn it on and off would be nice.

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

Successfully merging this pull request may close these issues.

2 participants