The now-added tree codec framework provides means to convert between trees and arrays of bytes. Moreover, enhanced codecs can also support the serialization and deserialization of additional data (called annotations). The default population implementation is updated to make use of the tree codec framework and make optimal use of the annotations if supported by the chosen codec.
At the moment, two tree codecs are supported: a json-based, with no support for annotations, and a pickle-based, with support for annotations.
Note: The internal format of the files read and written by the pickle-based tree codec are NOT backward compatible with the serialized trees created with previous versions.
coverage: 88.242% (-0.3%) from 88.575%
when pulling 96e14e134cd48ece1aae722f181426cf79ab7090 on akosthekiss:tree-format
into 1308ce0015b43a82499a3e70e5884ea395379a0a on renatahodovan:master.
The now-added tree codec framework provides means to convert between trees and arrays of bytes. Moreover, enhanced codecs can also support the serialization and deserialization of additional data (called annotations). The default population implementation is updated to make use of the tree codec framework and make optimal use of the annotations if supported by the chosen codec.
At the moment, two tree codecs are supported: a json-based, with no support for annotations, and a pickle-based, with support for annotations.
Note: The internal format of the files read and written by the pickle-based tree codec are NOT backward compatible with the serialized trees created with previous versions.