Documentation
Table of Contents

Class MappingStep

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

One step of a compiled mapping: an op from the closed vocabulary that reads its sources and writes one target member. Paths are JSON Pointers over wire names (/customer/name); inside Each the nested steps' paths are relative to the array item, and the empty pointer names the item itself.

[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
public sealed class MappingStep
Inheritance
object
MappingStep
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Remarks

A stored step with a member this library does not know fails to load.

Constructors

MappingStep()

Creates a step; set Target and Op.

Properties

Args

The op's arguments; null when the op takes none. An argument the op does not take is refused.

Format

For ParseDate and ParseDateTime only: whether the formats were stated by the caller or inferred, which is allowed only for ISO 8601 forms.

Items

The nested steps run on every item of the source array; set for Each only.

Op

What the step does.

Sources

The input members the step reads, as JSON Pointers over the input's wire names; empty for Constant.

Target

The output member this step writes, as a JSON Pointer over the output's wire names.