pub fn py_str(v: &Value) -> String
bool(value) for a JSON value: null, false, 0, "", [] and {} are false, everything else true. str(value) for a JSON value printed through an f-string.
bool(value)
null
false
0
""
[]
{}
str(value)