Freigeben über


Serialization Class

Definition

Describes how data from an input is serialized or how data is serialized when written to an output.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.SerializationTypeConverter))]
public class Serialization : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.ISerialization
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.SerializationTypeConverter))>]
type Serialization = class
    interface ISerialization
    interface IJsonSerializable
Public Class Serialization
Implements ISerialization
Inheritance
Serialization
Attributes
Implements

Constructors

Serialization()

Creates an new Serialization instance.

Properties

Type

Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Serialization.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Serialization.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.ISerialization. Note: the Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.ISerialization interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of Serialization, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Serialization into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to