Marshal icon indicating copy to clipboard operation
Marshal copied to clipboard

Marshaling the typeless wild west of [String: Any]

Results 26 Marshal issues
Sort by recently updated
recently updated
newest added

This PR adds a new feature of getting the object at a particular index by keyPath. Let's say that we have JSON like this: ``` { "id": 5393, "title": "",...

I love Marshal and I'm a bit worried that maybe it's been abandoned, but hopefully you can help me with this: I've lately started running into this error: `Expected type...

Seems like the only examples I can find on Marshal are converting JSON into an object and not the other way. I'm assuming it's easy but perhaps I'm missing something....

So, it's clear to me how to unmarshal a Date, by extending it with the `ValueType` protocol. But it's not at all clear how to marshal it. I tried various...

Hi, I was wondering whether it would be possible to simplify Marshal implementation using new Swift features like conditional protocol conformance. This would also simplify creating 3rd party extensions above...

Hi, I love using Marshal for mapping as it's far more simple and straightforward than other options. I think that the only pain is that if mapping fails for some...

This construction ```swift extension NSDictionary: MarshaledObject { public func any(for key: KeyType) throws -> Any { guard let value: Any = self.value(forKeyPath: key.stringValue) else { throw MarshalError.keyNotFound(key: key) } ```...

This eliminates 8 warnings and doesn't cause any problems that I've seen.

Update to latest project settings in Xcode 10.