ml-archive / Serpent

A protocol to serialize Swift structs and classes for encoding and decoding.

Home Page:https://nodes-ios.github.io/Serpent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encoding optional NSURL

tbrachkov opened this issue · comments

When using Cashier the optional NSURL was not being decoded as NSRL even it was there before encoding after serialising from JSON.

Can you please add a test case for this, so we can see the issue? :)

The reason is that some URL might have had the additional "" at the end. Failing to serialise it seems ok.