STRING

A lenient converter to String values.

This converter attempts the following conversions in order:

  1. Direct extraction as String

  2. Conversion of Boolean to "true" or "false"

  3. Conversion of numeric types to String

    • Special values: Double.NaN ->"NaN", Double.POSITIVE_INFINITY ->"Infinity"

    • Whole numbers: 1.0 → "1" (removes unnecessary ".0" suffix)

    • Disables scientific notation for better readability