Skip to content

Commit ddb2753

Browse files
authored
JSONEncoder as struct (#47)
1 parent 8ea29f9 commit ddb2753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PureSwiftJSON/Encoding/JSONEncoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class JSONObject {
9595
}
9696
}
9797

98-
public class JSONEncoder {
98+
public struct JSONEncoder {
9999
var userInfo: [CodingUserInfoKey: Any] = [:]
100100

101101
public init() {}

0 commit comments

Comments
 (0)