|
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 is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.