Conformance Examples 0.1.0 — Transforms: transform-compact¶
compact-removes-nulls¶
Null elements are removed from the list; surviving elements keep their order.
Template
Context
Output
compact-no-nulls¶
A list with no null elements is returned unchanged.
Template
Context
Output
compact-non-list-is-null¶
A non-list input does not match the transform's shape, so the result is null.
Template
Context
Output
compact-null-input-is-null¶
A null (missing) input is not a list, so the result is null.
Template
Context
Output
compact-keeps-non-primitive-elements¶
Non-primitive elements (structs) are not null, so compact keeps them.
Template
Context
Output
Source fixture: transforms/transform-compact.json