decode_density_altitude_request_v1

Function decode_density_altitude_request_v1 

Source
pub fn decode_density_altitude_request_v1(
    value: &Value,
) -> Result<DensityAltitudeRequestV1, SolveErrorEnvelopeV1>
Expand description

Decode an atmosphere.density_altitude request from JSON the way solve decodes its atmosphere: the solve’s own shape validator runs first, so an unknown or unit-suffixed field, an explicit null, a string where a number belongs or an unrecognized pressure_reference is refused with the solve’s code at the solve’s $.atmosphere.* path.