Syntax
CSharp
public JavaScriptSerializer ()
VisualBasic
ManagedCPlusPlus
public:
JavaScriptSerializer ()
JSharp
public JavaScriptSerializer ()
Remarks
An instance of the JavaScriptSerializer class without a type resolver does not include type metadata markers ("__type") in the serialized JavaScript Object Notation (JSON) string. A type metadata marker is used by the Deserialize<(Of T>)(String) and DeserializeObject(String) methods to determine the appropriate managed type to which the JSON string will be converted. For information about type resolvers, see the JavaScriptTypeResolver class.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)