Closed zkonge closed 2 months ago
Hi @zkonge,
there's no specific reason why from_value
wasn't added yet. I didn't need it so far and nobody complained either :wink:.
Would you like to provide a PR to add it?
I'd probably go with the DeserializeOwned
trait bound, similar to what serde_json
does since we'll not borrow data from the deserializer here.
hi, I want to deserialize
hcl::Value
into my typeT
, but after reading through the code, I only found thehcl::value::to_value
.Is there any special reason execluding the
from_value
?