As a developer, I want to work with clean and simple code which contains no duplicated logic.
API returns just bunch of fields with no structure. Currently we just unmarshal these fields without constructing any graph structure. But what we should do is construct an object which contains other objects that represent joined tables such as localities, reference etc...
AC:
Implement such custom serializer using jackson library.
Serializer is able to detect joined tables and construct subobjects from these fields with corresponding prefixes.
As a developer, I want to work with clean and simple code which contains no duplicated logic. API returns just bunch of fields with no structure. Currently we just unmarshal these fields without constructing any graph structure. But what we should do is construct an object which contains other objects that represent joined tables such as localities, reference etc...
AC: