create

fun create(dir: Path, creation: CreationOptions = CreationOptions(), options: StoreOptions = StoreOptions()): JsonStore(source)

Creates a store in dir, making the directory if it's missing. Throws StoreExistsException when dir already holds a store, which is left as it was.