fn decoded_to_json(data: &DecodedData) -> ValueExpand description
Returns a table value as JSON: booleans and numbers as themselves, everything else as text.
Floats not representable in JSON (NaN, infinite) become null.
fn decoded_to_json(data: &DecodedData) -> ValueReturns a table value as JSON: booleans and numbers as themselves, everything else as text.
Floats not representable in JSON (NaN, infinite) become null.