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 36f4ee0 commit e2052f2Copy full SHA for e2052f2
Sources/JWT/CompactJSONEncoder.swift
@@ -1,3 +1,6 @@
1
+import Foundation
2
+
3
4
class CompactJSONEncoder: JSONEncoder {
5
override func encode<T : Encodable>(_ value: T) throws -> Data {
6
return try encodeString(value).data(using: .ascii) ?? Data()
0 commit comments