lazyjson 2.7.0 — retry loads
With this update, loading a File
from disk will be retried up to 10 times if the load fails with a JSONDecodeError
. This avoids intermittent errors when the file is in the process of being written to disk. The optional tries
argument of the File
constructor can be used to override the number of attempts; use 1
to turn this feature off.