comment == temporarily

This commit is contained in:
Suresh, Kamlesh 2020-03-06 17:37:23 -05:00
parent ec723d5768
commit 6ca805a950

View File

@ -70,11 +70,11 @@ public enum JSONValue: Codable, Equatable {
}
}
public func ==(lhs: JSONValue, rhs: JSONValue) -> Bool {
let ld = try? lhs.encode()
let rd = try? lhs.encode()
return ld == rd
}
//public func ==(lhs: JSONValue, rhs: JSONValue) -> Bool {
// let ld = try! lhs.encode()
// let rd = try! lhs.encode()
// return ld == rd
//}
extension JSONValue: ExpressibleByStringLiteral {
public init(stringLiteral value: String) {