Decoder
Turns a raw response into features, mapping fields by the definition's paths. It knows a format, never a provider. It throws when the response is not in its format at all; single features it cannot read are skipped.
This is a type alias exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { Decoder } from "@mapcairn/core";
type Decoder = (raw: unknown, fields: FieldMap) => LayerFeature[];