All standard implementations of java.util.List already implement java.io.Serializable and java.util.List itself is not a subtype of java.io.Serializable,it should be safe to cast the string into a list to Serializable, as long as we know it's one of the standard implementations like ArrayList or LinkedList.