Hi All,

I'd quite like to use the Python json Command Line Interface.

My OS is V7R3M0 and the versions of Python Installed are:

3.4.6 and
2.7.13

I can get the tool to work without issues but the current version of
json.tool sorts the keys of the output file which is behaviour I don't want.

According to the documentation, in version 3.5 the output was changed to
default to the same order as input, and a --sort-keys option added for
anyone wanting that feature.

As far as I can see, the latest PTF for Python Runtime for IBMi is SI66070
which is for version 3.4.6 which is already installed.

Forgive my ignorance but in the documentation at
https://docs.python.org/3/library/json.html where it talks about the
command line options and specifically the bit about output sort order being
changed in version 3.5 - does that mean that I need to wait until there is
a PTF for 3.5 of the Python runtime before I can get access to this version
of the json.tool module?

Thanks in advance,
Craig

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].