fn to_val(datum: Datum<'_>) -> ValExpand description
Converts a jsonb datum into a jaq value.
Numbers convert as jaq’s own JSON reader converts their text: integers to
Num::Int or Num::BigInt, and everything else to Num::Dec, which keeps
the decimal text until arithmetic turns it into a float.