JSON3.jl
JSON3.jl copied to clipboard
write lock on file Windows
On Windows 11 (using VS Code) the second line below locks the file. I.e. once the line is executed I can no longer amend the file and write to disk (in another application)
My workaround is the first line.
Any idea why this is happening?
Is it possible to define JSON3.read(fi) = JSON3.read(read(fi,String)) as such (I have not looked at the source code)
js = JSON3.read(read(fi,String)); #works perfectly fine
js = JSON3.read(fi); #produces a read/write lock for this file