Bars Specification 0.1.0 — Transform: map¶
Category: list · Since: 0.1.0
Projects each element to a property value.
Projects each element (a struct) to its property value, resolved via a KPointer — a bare key like "name" uses dot-notation, "/addr/city" uses an RFC 6901 pointer. Requires every element to be a struct; a non-conforming element is a soft failure yielding null.
Input coercion: list
Arguments¶
| Name | Type | Optional | Default |
|---|---|---|---|
property |
string | no | — |
Arity: 1–1
Worked examples¶
→
→
Full fixture: transforms/transform-map.json