mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
As a temporary workaround for SR-5206, certain Foundation types which had custom behavior in JSONEncoder and JSONDecoder were granted special knowledge of those types internally in order to preserve strategies on encode/decode. This replaces that special knowledge with a more general-purpose fix that works for all types and all encoders/decoders.
12 KiB
12 KiB