Function mlua_json_value_to_vec

Source
pub fn mlua_json_value_to_vec<T>(
    values: Value,
) -> Result<Vec<T>, ExpectedListOfStrings>
where T: From<String>,
Expand description

Convert a json value into a Vec, treating empty json objects as empty lists This is needed to be able to deserialise Lua tables.