I want to inject some Json into the Html page returned by the server?
Is there a public function that returns the Json string when Json(someObject) gets called?
Note that I don't want to return Json to the browser in a seperate request. I want to convert an object graph to json and inject it into a script block.
Thanks