FileCodec
inline fun <T : @Serializable Any> FileCodec(file: Path, tempFile: Path = Path("$file.temp"), json: Json = DefaultJson): FileCodec<T>
Creates a store with FileCodec with json serializer
Return
store that contains a value of type T
Parameters
file
path to the file that is managed by this store
json
JSON Serializer to use. defaults to DefaultJson