Skip to content

Case

JSONEncoder.NonConformingFloatEncodingStrategy.convertToString(positiveInfinity:negativeInfinity:nan:)

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
The strategy that encodes exceptional floating-point values from a specified string representation.
case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)