SystemSerializer Class
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.
A bare-bones serializer which knows how to deal with primitive types and strings only. It is recommended for more complex scenarios to implement your own IObjectSerializer based on System.Text.Json, Newtonsoft.Json, or DataContractJsonSerializer see https://aka.ms/wct/storagehelper-migration
public class SystemSerializer : Microsoft.Toolkit.Helpers.IObjectSerializer
type SystemSerializer = class
interface IObjectSerializer
Public Class SystemSerializer
Implements IObjectSerializer
- Inheritance
-
SystemSerializer
- Implements
Deserialize<T>(String) |
Take a primitive value from storage and return it as the requested type using the ChangeType(Object, Type) API. |
Serialize<T>(T) |
Returns the value so that it can be serialized directly. |
Product | Versions |
---|---|
Windows Community Toolkit | 7.1.0 |