EnumerationFoundation5.9.0
NonConformingFloatDecodingStrategy
The strategy to use for non-JSON-conforming floating-point values (IEEE 754 infinity and NaN).
enum NonConformingFloatDecodingStrategy
Citizens in Foundation
Members
case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
Decode the values from the given representation strings.
case `throw`
Throw upon encountering non-conforming values. This is the default strategy.