5402fa68 | 22-Nov-2024 |
Patrick Williams <patrick@stwcx.xyz> |
entry: use AdditionalData2 for serialization
Prefer the `map<std::string, std::string>` for serialization of metadata over the `vector<std::string>` format. Add backwards compatible parsing of the
entry: use AdditionalData2 for serialization
Prefer the `map<std::string, std::string>` for serialization of metadata over the `vector<std::string>` format. Add backwards compatible parsing of the `vector<std::string>` format.
Tested: Loaded a "version 5" entry. Created a new entry and verified it was "version 6" in the binary dump. Reloading the daemon restores both version 5 and 6 objects.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39b8a4099ad61161d52c3784d6325df7da031011
show more ...
|