Redigera

Dela via


System.Web.Script.Serialization Namespace

Contains classes that provide JavaScript Object Notation (JSON) serialization and deserialization for managed types. It also provides extensibility features to customize serialization behavior.

Classes

JavaScriptConverter

Provides an abstract base class for a custom type converter.

JavaScriptSerializer

For .NET Framework 4.7.2 and later versions, use the APIs in the System.Text.Json namespace for serialization and deserialization. For earlier versions of .NET Framework, use Newtonsoft.Json. This type was intended to provide serialization and deserialization functionality for AJAX-enabled applications.

JavaScriptTypeResolver

Provides the abstract base class for implementing a custom type resolver.

ScriptIgnoreAttribute

Specifies that JavaScriptSerializer will not serialize the public property or public field. This class cannot be inherited.

SimpleTypeResolver

Provides an insecure type resolver for managed types.