Improve handling of extensions.
This generalizes extension handling by adding extensions to the serialization and deserialization spec. This allows cleaner less explicit handling of extensions and some optimization where empty lists does not need to be passed to the constructor.
This PR is based on #55. I recommend reviewing after #55 has been merged, or to only review the last five commits.
Improve handling of extensions. This generalizes extension handling by adding extensions to the serialization and deserialization spec. This allows cleaner less explicit handling of extensions and some optimization where empty lists does not need to be passed to the constructor.
This PR is based on #55. I recommend reviewing after #55 has been merged, or to only review the last five commits.