Closed leonardbinet closed 1 year ago
Hello, This could be achieved using pickle package, which is a python built-in package. is other serializing method really needed? I think there's just one aspect that JSON is better than pickle, JSON file is not binary and thus is human-readable while pickle file is binary.
@AdeBC you are right pickle
is good for many situations, although here are some of reasons why other serialization formats can be interesting:
pickle
data is not secure you should not unpickle
data from unknown sourcespickles
are not portable among all python versionsOh, that make sense, security and other features you said are really necessary. Thanks for your hard work
https://github.com/caesar0301/treelib/issues/85