Open
Description
Previous ID | SR-10321 |
Radar | rdar://problem/35469406 |
Original Reporter | @tjw |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Bug, Codable |
Assignee | bendjones (JIRA) |
Priority | Medium |
md5: 6a6e7c98fd73328b0660b63bb80dad10
Issue Description:
PropertyListEncoder should have an `encode` variant that produces the non-serialized property list, and PropertyListDecoder should have a `decode` variant that takes as input a n already-deserialized property list.
This would allow better reading/writing UserDefaults values and allow UserDefaults to do the serialization operations, and importantly, allowing the command line tool `defaults` `read` option to produce human-readable output and the `find` option to actually be able to see the property list contents.