throw new UnmarshallException("can't assign null primitive");
}
final Class jsonClass = json.getClass();
final ISerializer s = this.getSerializer(clazz, jsonClass);
if (s != null) {
return s.unmarshall(state, clazz, json);
}
// As a last resort, we check if the object is in fact an instance of the
// desired class. This will typically happen when the parameter is of
// type java.lang.Object and the passed object is a String or an Integer