In this case I'd actually do the deserialization and throw a try catch around it. Not so nice to have a serializer that returns true on isDeserializerFor for all strings.