IObjectSerializer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
IObjectSerializer has been migrated to the Microsoft.Toolkit (CommunityToolkit.Common) package.
A basic serialization service.
public interface IObjectSerializer
[System.Obsolete("IObjectSerializer has been migrated to the Microsoft.Toolkit (CommunityToolkit.Common) package.")]
public interface IObjectSerializer
type IObjectSerializer = interface
[<System.Obsolete("IObjectSerializer has been migrated to the Microsoft.Toolkit (CommunityToolkit.Common) package.")>]
type IObjectSerializer = interface
Public Interface IObjectSerializer
- Derived
- Attributes
Methods
Deserialize<T>(Object) |
Deserialize a primitive or string into an object of the given type. |
Deserialize<T>(String) |
Deserialize a string into an object. |
Serialize<T>(T) |
Serialize an object into a string. It is recommended to use strings as the final format for objects if you plan to use the SaveFileAsync<T>(String, T) method. |