Share via


JsonMapperDestinationField Class

Definition

JsonArrayMapper destination field used to describe the field to which the parsed output will be written.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.JsonMapperDestinationFieldTypeConverter))]
public class JsonMapperDestinationField : Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IJsonMapperDestinationField
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.JsonMapperDestinationFieldTypeConverter))>]
type JsonMapperDestinationField = class
    interface IJsonMapperDestinationField
    interface IJsonSerializable
Public Class JsonMapperDestinationField
Implements IJsonMapperDestinationField
Inheritance
JsonMapperDestinationField
Attributes
Implements

Constructors

JsonMapperDestinationField()

Creates an new JsonMapperDestinationField instance.

Properties

Destination

Define the destination's element. The element is the body or the attributes of the message, to which the json array mapper will write the output map.

FieldName

Define a destination field name under the given element. Leaving this empty, means the root of the element. In case element=attributes and fieldName is empty, the object's attributes themselves will contain the key value output pairs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JsonMapperDestinationField.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JsonMapperDestinationField.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IJsonMapperDestinationField.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JsonMapperDestinationField into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to