Share via


JsonMapperSourceField Class

Definition

JsonArrayMapper source field used to describe the field from which the json array will be read.

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

Constructors

JsonMapperSourceField()

Creates an new JsonMapperSourceField instance.

Properties

FieldName

Define a source field name from which the json array mapper will read the json array. Leaving this empty, means reading the body of the message itself.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JsonMapperSourceField.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JsonMapperSourceField.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JsonMapperSourceField into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to