Function mlua_json_value_to_map

Source
pub fn mlua_json_value_to_map<T>(
    values: Value,
) -> Result<HashMap<String, T>, ExpectedTableOfStrings>
where T: From<String>,
Expand description

Convert a json value into a HashMap<String, T>. This is needed to be able to deserialise Lua tables.