Expand description
§Map Function Module
Data transformation via JSONLogic expressions. Each mapping evaluates a
compiled JSONLogic rule against the message’s context (OwnedDataValue)
and assigns the result to a path. The result type is OwnedDataValue —
no serde_json::Value intermediate.
§Features
- JSONLogic-driven transformations
- Dot-path target paths with auto-creation
- Root-field merge semantics for
data/metadata/temp_data - Null results skip assignment by default (“set or keep”);
on_null: "unset"removes the path instead unset: trueremoves a path outrightmode: "append"/"extend"add to an array in place- Audit-trail change tracking
Structs§
- MapConfig
- Configuration for the map function containing a list of mappings.
- MapMapping
- A single mapping that transforms and assigns data — or, with
unset, removes it.
Enums§
- MapMode
- How a
MapMappingwrites a non-null result to itspath. - OnNull
- What a
MapMappingdoes when itslogicevaluates tonull.