MfundoZA / Metro

A time tracking productivity app for developers
GNU General Public License v3.0
1 stars 0 forks source link

Remove code that does not need to read the entire JSON file #2

Open MfundoZA opened 1 year ago

MfundoZA commented 1 year ago

Currently, when adding a new object to the JSON files, the system needs to read all objects into a list and then add the new object into the list before writing the entire list back into the JSON file.

This is inefficient and will cause the system to run slow as the JSON file gets larger. Therefore a cleaner way to work with JSON files has to be implemented.

To find instances of this problem in the codebase. Search "Technical Debt" in the search bar.