Let me start by mentioning that this particular situation can also occur in the opposite manner as well.
Situation: Imagine a scenario where the backend developer, who is not really your friend :D, defines a DTO (send JSON) with properties, for instance in JAVA. However, he does not engage in communication with you, which is definitely not the best practice.
Common issue: As a frontend developer working with ANGULAR, my main concern is ensuring the safety of mapping backend data to my frontend model (receive JSON). This aspect is often underestimated and may lead to complications.
Typical scenario: Although JSON Object mapping might seem like a great technique, there is still uncertainty regarding the location of the data within my program. It is crucial to have the data easily accessible.
Query: Is there any method or pattern available that would result in a runtime or compile-time error during the mapping process? This would provide assurance that the model matches exactly with the response data's JSON model.