- Notifications
You must be signed in to change notification settings - Fork3.4k
Open
Description
What did you do?
let json = JSON(["name":"Jack", "age": 25])
print(json)
What did you expect to happen?
{
"name" : "Jack",
"age" : 25
}
What actually happened instead?
build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
case (.number, .number): return lhs.rawNumber < rhs.rawNumber
Environment
List the software versions you're using:
- SwiftyJSON:4.3.0
- Swift version 5.1 (swift-5.1.2-RELEASE)
Target: x86_64-unknown-linux-gnu
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
Swift Package Manager - Swift 5.1.0 (331fa5cb)
Project that demonstrates the issue
Please link to a project we can download that reproduces the issue. Feel free
to delete this section if it's not relevant to the issue (eg - feature request).
The project should beshort, self-contained, and correct example.
Metadata
Metadata
Assignees
Labels
No labels