Wednesday, 13 November 2019

How do you deal with a json with a circular reference?

Let's say you have a friend API and you have a create friendship action. Each user has a friend object referencing the users with whom he's friend. How do you prevent from ending up with an infinitely large json?

Submitted November 14, 2019 at 12:47AM by jesusscript

No comments:

Post a Comment