JSONFloatLiteral

String literals used to represent special float values within JSON strings.

Values

ValueMeaning
nan"NaN"

string representation of floating-point NaN

inf"Infinite"

string representation of floating-point Infinity

negativeInf"-Infinite"

string representation of floating-point negative Infinity

Meta

Suggestion Box / Bug Report