I have an object, any data object ( for example, Person) serialized and brought down to the user interface. Users click the save button with or without changes.
What is the best way to detect that the object has changed by the user while on the UI? Note that the object may have child records and changes on those records should also set a "need-to-save" property to true.
Before building our own logic, is there a standard way of doing this? Our client is Angular 1.6 and server site is Java 1.8 with RESTEASY. But I would imagine this to be a common problem for any platform that uses serialization.