Closed SoluMilken closed 5 years ago
https://github.com/Yoctol/strpipe/blob/master/strpipe/pipe.py#L126
Serialization # Save it p.save_json('/path/of/pipe') # Load it p = Pipe.load_json('/path/of/pipe') result, meta = p.transform(['你好'])
load_json ? restore_from_json?
It should be restore_from_json for semantic reason.
restore_from_json
https://github.com/Yoctol/strpipe/blob/master/strpipe/pipe.py#L126
load_json ? restore_from_json?