Json.Decode Method (String)
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Call the Decode method to decode data that was encoded into JSON format earlier by using the Encode(Object) method. You can use this method to convert JSON-encoded data into a data object that you can work with in ASP.NET Razor code. For example, you can use a foreach block to loop through all of the Product objects in a set of data and update them in a database.