JsonSerializer.putValue

Writes a numeric value (Num, BigInt, or Decimal) to the JSON output stream. (community summary)