pub async fn read<T>(href: impl ToString) -> Result<T>where
T: DeserializeOwned + Href,
๐Deprecated: use
stac
instead of stac-async
, which is deprecated and will receive no further updatesExpand description
Reads a STAC value from an href.
The href can be a url or a filesystem path.
ยงExamples
let item: stac::Item = stac_async::read("examples/simple-item.json").await.unwrap();