DataConverter Class
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.
Abstraction for serializing and deserializing data that gets passed to and from orchestrators and activities.
public abstract class DataConverter
type DataConverter = class
Public MustInherit Class DataConverter
- Inheritance
-
DataConverter
- Derived
Remarks
Implementations of this abstract class are free to use any serialization method. The default implementation uses the JSON serializer from the System.Text.Json namespace. Currently only strings are supported as the serialized representation of data. Byte array payloads and streams are not supported by this abstraction. Note that these methods all accept null values, in which case the return value should also be null.
Constructors
DataConverter() |
Methods
Deserialize(String, Type) |
Deserializes |
Deserialize<T>(String) |
Deserializes |
Serialize(Object) |
Serializes |