[Freeipa-devel] [freeipa PR#459][comment] [WIP] Faster JSON encoder/decoder

tiran freeipa-github-notification at redhat.com
Tue Feb 14 07:20:46 UTC 2017


  URL: https://github.com/freeipa/freeipa/pull/459
Title: #459: [WIP] Faster JSON encoder/decoder

tiran commented:
"""
@pvoborni I have modified the PR and added a pretty_print option. JSON is now pretty printed for verbose level 2 and higher.

The old implementation converted all list to tuples. With ```obj_hook```, only lists in a JSON objects are converted at the moment. Nested lists are not fully converted, which causes a test failure. I wonder why we decided to convert lists to tuples in the first place? Can we drop the conversion and just use lists here?
"""

See the full comment at https://github.com/freeipa/freeipa/pull/459#issuecomment-279627304


More information about the Freeipa-devel mailing list