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
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to