Update encoder [#3258]
Closes #3258 (closed). Improves the encoder's support for generic types. Adds {Type}As
functions to check and alter the type parameter(s) of a generic type. Improves handling of typed nils.
Changelog: fix
Closes #3258 (closed). Improves the encoder's support for generic types. Adds {Type}As
functions to check and alter the type parameter(s) of a generic type. Improves handling of typed nils.
Changelog: fix