Simple question - am current having a test of MVC4 and noticed I can use the Json.Encode method in any of the views (not the Json method in the controller).
The namespace (System.Web.Helpers) is in the web.config as it should be and simply referencing the object directly doesn't work.
The reference is in the references list in the project, however looking into the library the Json object is not there either.
I have tried adding the System.web.helpers library again, which adds the Json object however am unable to access it.
Any help would be much appreciated