from
Retrieves the NativeSerializerType corresponding to the given class.
This method checks if the provided value is a subclass out of the defined NativeSerializerType classes.
Return
The corresponding NativeSerializerType.
Parameters
value
The value to check.
Throws
if the value is not a supported type.