Dealing with a large JSON object that needs to be parsed into a class instance and have methods executed from within. Tried using Object.assign and the Lodash API, specifically the merge or mergeWith function, but hit a roadblock when dealing with class properties as arrays. Despite trying various approaches found on Stack Overflow and related posts, nothing seems to fully meet the requirements.
The stackblitz with the issue can be accessed here. Any assistance in resolving this matter is greatly appreciated.