Keep Fractional Seconds When Round-Tripping JSON Dates
Modern Foundation can decode optional ISO 8601 fractions, but JSONEncoder’s .iso8601 strategy can still discard them. Build and test both sides of a millisecond-resolution API contract.
Read more