of

fun of(vararg expressions: String): Projection

Named fields, each written as a VariantPath expression: $.user.name, $.items[0].sku.

The name is the expression, which is what a caller wrote and can therefore recognise.

Throws

with the position for a malformed expression, and for a wildcard, which names no single value.


Named fields, already parsed.