caesar0301 / treelib

An efficient implementation of tree data structure in python 2/3.
http://treelib.readthedocs.io/en/latest/
Other
801 stars 185 forks source link

Extended to_json() to support sort key #123

Open anthonyrocom opened 4 years ago

anthonyrocom commented 4 years ago

Simple change for to_json() to support the sort key. Documentation needs to be updated for this change.

anthonyrocom commented 4 years ago

Hi, this addition to the to_json() method is still unavailable in the latest code. Can you approve the changes? It seems the Travis unit tests failed due to some archive that couldn't be downloaded, not that the code improvement failed.