When attempting to println!("{:#?}", lua.to_value(&serde_json::Value::Null)); the result is Userdata null instead of Lua's nil type. Every other data type is mapped correctly.
The mlua version tested with is 0.11.6 with "luajit, anyhow, async, macros, send, serialize, vendored" features enabled
When attempting to
println!("{:#?}", lua.to_value(&serde_json::Value::Null));the result is Userdata null instead of Lua's nil type. Every other data type is mapped correctly.The mlua version tested with is 0.11.6 with "luajit, anyhow, async, macros, send, serialize, vendored" features enabled