By stable ordering, you mean dictionaries with keys being output in the
order that they were encoded?
Potentially, but this would require additional work as neither Swift
dictionaries nor `NSMutableDictionary` support this (reasonable seeing
as dictionaries are by definition not sorted), and the current
implementation uses `JSONSerialization` as the concrete serializer.
Certainly not impossible, though.
On 16 Mar 2017, at 8:49, Ben Rimmington wrote:
<https://github.com/apple/swift-evolution/pull/640>
Could the `JSONEncoder.OutputFormatting.prettyPrinted` case include
the **stable ordering** of keys?
-- Ben
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution