pub fn from_value(doc: &Value) -> Result<Function>
from_json from a parsed document.
from_json
As from_json.