title: WCF: Returning a complex object in JSON format
body: <p>I'm writing a WCF web service which return data as JSON.</p>
  
  <p>This has been working fine, but I wish to return a list of objects, each of which will contain another list of objects.</p>
  
  <p>This results in no data being sent to the client.</p>
  
  <p>How do I serialize this list of complex objects and return it as JSON.</p>
  
  <p>Thanks.</p>