-
Notifications
You must be signed in to change notification settings - Fork 3
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
Machine-readable output #22
Conversation
version-number and version history need a bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Please consider my remarks and suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I have updated the test script to check (and create) expected results for json and XML output as well in this update |
ToDos
Description
This PR introduces a new encoding switch to choose how the CZICheck's result should be emitted to the output.
The switch is exposed as a command line parameter
--encoding
(-e
for short).One can choose between
text
(the default and the status quo, i.e., human readable text),json
which will emit a json encoded result, andxml
which will emit xml-encoded output.To achieve this, the dependencies rapidjson and pugiXML are introduces to the project.
Note: libxo, as suggested in issue #16 has some shortcomings regarding cross-platform builds (Windows especially). This is why other libraries were used.
Fixes #16 , #23
Type of change
How Has This Been Tested?
Describe the tests that you ran to verify your changes.
Provide instructions to reproduce.
Checklist: