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.
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.