Function lua_to_json

Source
fn lua_to_json(v: Value) -> Result<Value>
Expand description

Lua value -> JSON. Tables with only positive-integer keys become arrays; everything else an object.