Function dumpd
Source pub fn dumpd<T: Serializable + Serialize>(obj: &T) -> Result<Value>
Expand description
Serialize a Serializable object to a Value (dict-like structure).
§Arguments
obj - The object to serialize.
§Returns
A serde_json::Value representation of the object.
§Errors
Returns an error if serialization fails.