[][src]Function serde_dhall::de::from_str

pub fn from_str<T>(s: &str) -> Result<T> where
    T: Deserialize

Deserialize an instance of type T from a string of Dhall text.

This will recursively resolve all imports in the expression, and typecheck it before deserialization. Relative imports will be resolved relative to the provided file. More control over this process is not yet available but will be in a coming version of this crate.