Questions tagged [javascriptserializer]

The JavaScriptSerializer class in System.Web.Script.Serialization offers JSON serialization and deserialization capabilities for applications and websites designed for the .NET Framework. Feel free to ask us questions specifically about this class using this tag. If you have more general inquiries about JavaScript/JSON serialization, consider using the [json] and [serialisation] tags instead.

Transforming FullCalendar (jquery) into asp.net (ashx)

///////////// Expert //////////////// $(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); $('#calendar').fullCalendar({ ...

Decoding JSON with JavaScript following the response from JsonConvert.SerializeObject(json) in a .NET handler

I am currently working on a web application using the .NET platform. I have written a Handler code that returns a JSON object to JavaScript (after making an AJAX request). Here is the Handler code: var wrapper = new { left = left.ToString(), t ...

Extract data from a deeply structured JSON object

Here is the structure of my JSON data: "{\"total_entries\":2,\"current_page\":1,\"total_pages\":1,\"per_page\":2,\"items\":[{\"workspace\":{\"background_color\":\"#ffedd3\",&b ...

Decode JSON

I am currently working on making a web-service call from an aspx page. This particular service returns json data and my task is to deserialize the objects within it. Upon extracting the string, I found that it is formatted like this: "{ \" d \" ...