Self-referencing loop
#15328
|
I have 2 entities with a many-to-many relationship that I want to return via the API. Right now my project apparently does just that, with a self-referencing loop as a result. How can I either: include the relationship 1 level down; or configure JSON to not follow a self-referencing loop? The one page that supposedly would offer any info on JSON serialization seems to be incomplete. |
Answered by
xorinzor
Jan 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Managed to find this to configure JSON Serialization settings.
That fixed my problem of the self-referencing exception.