pub fn hcl_to_value(v: &Value) -> ValueExpand description
Convert an hcl::Value back into our Value.
Inverse of value_to_hcl. Numbers prefer the Value::Int fast path
when hcl::Number::as_i64 is Some; otherwise Value::Number with
hcl::Number::as_f64 (which always succeeds for finite numbers because
hcl::Number rejects NaN / Inf at construction).