JsonField 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.
This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldTypeConverter))]
public class JsonField : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IJsonField
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldTypeConverter))>]
type JsonField = class
interface IJsonField
interface IJsonSerializable
Public Class JsonField
Implements IJsonField
- Inheritance
-
JsonField
- Attributes
- Implements
Constructors
JsonField() |
Creates an new JsonField instance. |
Properties
SourceField |
Name of a field in the input event schema that's to be used as the source of a mapping. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of JsonField. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IJsonField. |
FromJsonString(String) |
Creates a new instance of JsonField, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |