-
Notifications
You must be signed in to change notification settings - Fork 17
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
No issue: sg_ses now supports JSON output #25
Comments
Hi @doug-gilbert! I really appreciate the heads-up and your interest in sasutils! I will test your latest version of sg_ses with JSON support and report back. |
Hi @doug-gilbert, That seems to change a lot what does As an example, with sg3_utils 1.47, I can access various status from each element. I am particularly interested in "status: OK"
Full output: sg_ses_1.47.txt With your latest version, even the "legacy" output is very different:
Full output: sg_ses_latest_dec15.txt If I can get the status and also various counters using json instead, I would be happy to support it in sasutils. It might even be easier for me. But right now, there is no status or counters in the output. See an example in the file attached below: |
Thanks for testing this. The action of the combination of '--page=ed --join' is not defined in my documentation (but '--page=aes --join' is). But I agree, this is a regression and it should be changed to do the same thing as the 1.47 release. That should appear soon on my github mirror as svn revision 990. |
It took a while but revision 990 is now mirrored on github. Got rid of an internal flag called partial_join that was causing more problems than it was worth. Added a --no-config option mainly for debugging (my program and SES implementation that don't meet t10's expectations). In JSON now encoding control characters (apart from the 'usual 5') using \xhh notation rather than the Unicode-ish \unnnn that JSON specs want. \xhh in C like with the second backslash making it valid JSON.Various Linux utilities are adopting the \xhh form. And that notation shows that several SES implementations like to leave the ASCII characters in fields that should be space filled to the right. |
Over at https://github.com/doug-gilbert/sg3_utils I recently updated sg_ses to support JSON output. The default is still human readable output and associated with the JSON additions some of the human readable output has been tweaked. Over 2000 lines were added, and around 900 removed, so its a big change. You may like to test that the newer sg_ses does not trip up ses_report .
I would like some feedback on the JSON additions before releasing sg3_utils version 1.48 .
The text was updated successfully, but these errors were encountered: