tristanhimmelman / ObjectMapper

Simple JSON Object mapping written in Swift
MIT License
9.15k stars 1.03k forks source link

Fixed CodableTransform for the case where the item is an array #1035

Closed falkobuttler closed 5 years ago

falkobuttler commented 5 years ago

Currently, CodableTransform only works properly if the object to be serialized is a single item and not an array of items. This PR will enable also arrays to be serialized properly.