comment == temporarily
This commit is contained in:
parent
ec723d5768
commit
6ca805a950
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user