pub fn project(items: Vec<Value>, keys: &[String]) -> Vec<Value>Expand description
Rewrites each object element to carry only keys, in the requested order.
Keys absent from an element are skipped rather than emitted as null, so a
projection never invents fields. Non-object elements pass through unchanged.