We need more tests for the encoder. It's test coverage is rather bad right now: https://codecov.io/gh/fabianfett/pure-swift-json/tree/master/Sources/PureSwiftJSONCoding/Encoding PRs are very welcome.