Class JsonTransformDefinition

Assembly: redb.Route.JsonTransform.dll

The <transformJson> node: applies a JSONata specification to the JSON body. The
specification is compiled at route build — a missing file or a syntax error fails Start()
with the specification name — and cached by source. Declarative on purpose: the XML form reads
and .

public sealed class JsonTransformDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→JsonTransformDefinition

Implements

Inherited Members

Properties

Output

JSON text or a JsonNode tree.

public JsonTransformOutput Output { get; }

Specification

Where the JSONata text comes from.

public TextSource Specification { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors