REST/JSON - How do I return objects who have a list of the same type RRS feed

  • Question

  • I have a WCF service I am using to return REST queries with JSON data. I now have an object that has a list of the same object as a DataMember. Think of it as the Person object having a Children list. Works great in .NET, causes infinite recursion in WCF.

    What's the best way to handle this?

    Note: I've read several similar questions to this here but none that I found match what I need.

    Who will win The Windward International Collegiate Programming Championships?

    Tuesday, July 16, 2013 10:59 PM

All replies