NothingSerializer

Returns serializer for Nothing. Throws an exception when trying to encode or decode.

It is used as a dummy in case it is necessary to pass a type to a parameterized class. At the same time, it is expected that this generic type will not participate in serialization.