toObject
Deprecated
Unsafe deserialization method. Use toObjectSecure() instead.
Replace with
toObjectSecure(expectedClass, allowedClasses)Content copied to clipboard
Legacy deserialization method - DEPRECATED due to security vulnerabilities. Use toObjectSecure() instead.