pub fn parse(value: &Value) -> Result<PolarResource, PolarResourceError>Expand description
Reads one polar resource – the object at one UUID under
performance.polars, or the whole of performance.activePolarData.
§Errors
PolarResourceError::Malformed when a required field is missing or
not the type the schema states, including a windData whose entries
do not all share the same set of wind angles – this reader does not
guess how to merge two different angle grids into one table.
PolarResourceError::Table when the numbers read are otherwise not
a valid table – see [Polar::new].