I'm creating a web service in WCF that returns JSON, but the DataContractJsonSerializer is balking on some circular references (which I can't remove in this particular case).
Instead, I'd like to use the Newtonsoft json library. What's the easiest way to create a custom serializer in WCF?
Note: I know I could just return a stream, but I don't want operation code aware of serialization stuff.