PipelineGroupJsonArrayMapper 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.
A component that allows parsing a value from sourceField as a json array, match a key to each parsed value from keys, and output the key-value map to destinationField field.
public class PipelineGroupJsonArrayMapper : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.PipelineGroupJsonArrayMapper>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.PipelineGroupJsonArrayMapper>
type PipelineGroupJsonArrayMapper = class
interface IJsonModel<PipelineGroupJsonArrayMapper>
interface IPersistableModel<PipelineGroupJsonArrayMapper>
Public Class PipelineGroupJsonArrayMapper
Implements IJsonModel(Of PipelineGroupJsonArrayMapper), IPersistableModel(Of PipelineGroupJsonArrayMapper)
- Inheritance
-
PipelineGroupJsonArrayMapper
- Implements
Constructors
PipelineGroupJsonArrayMapper(IEnumerable<String>) |
Initializes a new instance of PipelineGroupJsonArrayMapper. |
Properties
DestinationField |
Define a destination field to which the parsed output will be written. The output is a map, it's keys is the given keys array and the matching values are the parsed json array elements. |
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. |
Keys |
Define the names of the keys in the resulting map. The input json array elements are mapped in order, one for every key. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<PipelineGroupJsonArrayMapper>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PipelineGroupJsonArrayMapper>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PipelineGroupJsonArrayMapper>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PipelineGroupJsonArrayMapper>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PipelineGroupJsonArrayMapper>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |