caesar0301 / treelib

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

tree.to_json() method not working #75

Closed asram6 closed 6 years ago

asram6 commented 7 years ago

Hi, I saw in the documentation that the Tree object has a method to_json(). However, when I create a Tree object and try calling this method, I get the error: "'Tree' object has no attribute 'to_json'"

Am I missing something?

Thanks

caesar0301 commented 7 years ago

Please show me your code snippet. It is actually there. If you have an old version of treelib (currently 1.3.7), please update with pip install -U treelib

caesar0301 commented 6 years ago

Dup as #85