Top "Javascriptserializer" questions

System.

JavaScriptSerializer.MaxJsonLength exceeded. What's the best practice for handling this?

I've got a large amound of data I'm sending down to the client using jQuery's $.ajax() function. I'm calling a …

asp.net json web-services javascriptserializer
JavaScriptSerializer namespace issue

I am having a problem trying to implement the JavaScriptSerializer to parse a JSON string received from a server. I …

c# json visual-studio-2010 javascriptserializer
ASP.NET WebService is Wrapping my JSON response with XML tags

I'm not sure where I'm going wrong of what I'm missing. I'm building an ASP.NET 2.0 (on the .Net 3.5 framework) …

c# asp.net json web-services javascriptserializer
Can JavaScriptSerializer exclude properties with null/default values?

I'm using JavaScriptSerializer to serialize some entity objects. The problem is, many of the public properties contain null or default …

c# .net json serialization javascriptserializer
Return JSON from ASMX web service, without XML wrapper?

I need to get Json data from a C# web service. I know there are several questions based on this, …

json web-services asmx javascriptserializer
How to not serialize the __type property on JSON objects

Every object I return from a WebMethod of a ScriptService is wrapped into a JSON object with the data in …

c# asp.net json asmx javascriptserializer
Serializing a decimal to JSON, how to round off?

I have a class public class Money { public string Currency { get; set; } public decimal Amount { get; set; } } and would like …

c# json javascriptserializer
How to decode a JSON string using C#?

I'm looking for an example code/lib to decode a JSON string using C#. To encode I can do this: …

c# .net json javascriptserializer
How to add `System.Web.Extensions` assembly to .net core project in vscode

I have installed c# support for vscode(version is 1.15.0) and created a HelloWorld project via dotnet new console. Now in …

.net-core javascriptserializer
JavaScriptSerializer UTC DateTime issues

Our client wanted to show the date and time values in the browser exactly as they are in the database, …

.net datetime utc javascriptserializer