pub fn decode_backend_config_json(json: &str) -> Result<Config>Expand description
Read a legacy configuration or a versioned envelope with exact backend facts.
Any valid legacy object or positional array retains
from_legacy_backend_json’s behavior, including ignored unknown fields.
Otherwise the input must be an envelope: unknown versions, duplicate fields
and missing typed capabilities are parse errors.
This parser does not choose the caller’s error policy. The admitted DBT
standalone JSON path retains its strict-default parse fallback; coordinated
startup receives its authoritative typed Config through the RPC handshake.