LiveUI / XMLCoding

XMLEncoder & XMLDecoder using the Codable protocol in Swift 4.2
MIT License
10 stars 8 forks source link

Add ListEncodingStrategy and ListDecodingStrategy #2

Closed tachyonics closed 6 years ago

tachyonics commented 6 years ago

Provides an option to more compactly represent a list in a type hierarchy by collapsing a list with all items under a single tag when decoding and expanding all items to be under that tag when encoding. No change to default behavior. Added tests to verify default behavior and behavior with new strategies.