How to prevent nesting of json objects in API
I have a spring boot application with frontend and backend connected using apache HttpClient. There are many bi-directional associations between the entities. For example: @NamedEntityGraphs( { @NamedEntityGraph(name = "graph.ApplicationUserProcesses", attributeNodes ={ @NamedAttributeNode(value = "processes", subgraph = "processes"), @NamedAttributeNode(value = "roles")…