Skip to content

Commit 61c3ea7

Browse files
authored
Update CompactJSONEncoder.swift
1 parent f2c9778 commit 61c3ea7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/JWT/CompactJSONEncoder.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Foundation
2+
13
class CompactJSONEncoder: JSONEncoder {
24
override func encode<T : Encodable>(_ value: T) throws -> Data {
35
return try encodeString(value).data(using: .ascii) ?? Data()

0 commit comments

Comments
 (0)