We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c9778 commit 61c3ea7Copy full SHA for 61c3ea7
Sources/JWT/CompactJSONEncoder.swift
@@ -1,3 +1,5 @@
1
+import Foundation
2
+
3
class CompactJSONEncoder: JSONEncoder {
4
override func encode<T : Encodable>(_ value: T) throws -> Data {
5
return try encodeString(value).data(using: .ascii) ?? Data()
0 commit comments