pub fn decode_solve_request_v1(
input: &str,
) -> Result<SolveRequestV1, SolveErrorEnvelopeV1>Expand description
Decode and structurally validate one solve-json v1 request.
In addition to Serde’s deny_unknown_fields enforcement, this entry point attaches exact
JSONPath-like locations to unknown fields, missing required fields, invalid enums, and an
unsupported schema version. Transport implementations should use this function rather than
deserializing SolveRequestV1 directly when they need a protocol error envelope.