remove comment out
This commit is contained in:
parent
8da16fe18b
commit
fa48923e1f
@ -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! rhs.encode()
|
||||
return ld == rd
|
||||
}
|
||||
|
||||
extension JSONValue: ExpressibleByStringLiteral {
|
||||
public init(stringLiteral value: String) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user