pub fn read_json_from_file<T: DeserializeOwned>() -> Result<T, Box<dyn Error>>Expand description
Reads JSON data from file with shared file locking.
This function:
- Reads and deserializes the JSON data
This prevents reading partially written data during concurrent access.