Skip to content
SparkTime, home

Tagged #serialization

GuideTechnology

16 min read

File I/O and Serialization

How to read and write files in modern Java with Path and Files, why character encoding matters, how to stream large files safely, how to avoid path traversal, and what Java serialization really is, why it is risky, and what to use instead.