JavaScriptSerializer Methods

 

Namespace:   System.Web.Script.Serialization
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

NameDescription
System_CAPS_pubmethodConvertToType(Object^, Type^)

Converts the specified object to the specified type.

System_CAPS_pubmethodConvertToType<T>(Object^)

Converts the given object to the specified type.

System_CAPS_pubmethodDeserialize(String^, Type^)

Converts a JSON-formatted string to an object of the specified type.

System_CAPS_pubmethodDeserialize<T>(String^)

Converts the specified JSON string to an object of type T.

System_CAPS_pubmethodDeserializeObject(String^)

Converts the specified JSON string to an object graph.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRegisterConverters(IEnumerable<JavaScriptConverter^>^)

Registers a custom converter with the JavaScriptSerializer instance.

System_CAPS_pubmethodSerialize(Object^)

Converts an object to a JSON string.

System_CAPS_pubmethodSerialize(Object^, StringBuilder^)

Serializes an object and writes the resulting JSON string to the specified StringBuilder object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: