Open
Description
When dealing with serialization to Properties
format, there is a high chance that we're using both Java's Properties
type and Kotlin's Properties
object. This is quite annoying import-wise.
Renaming to something different would be nice, although it would also unfortunately break the pattern of naming the serializer object like the format.
Alternatively, providing extensions like Properties.decodeFromFile<T>(path: Path)
might solve the problem because we wouldn't have to first read the file into a java.util.Properties
instance, convert it to a map, and then call the Properties
deserialization.