JASON
JASON copied to clipboard
Fast JSON parsing for Swift
This code makes the exception: ``` struct Response: Codable { let success: Bool let value: Double } func testJASON() { let string: String = """ {"success":true,"value":100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000≥0} """ let data =...
I got the following error on linux. ```shell .build/checkouts/JASON/Source/JSONKey.swift:26:8 error: No such module 'CoreGraphics' import CoreGraphics ^ ``` So I remove CoreGraphics dependency for linux.
The issue comes up if I use JASON+JSONKey.swift included in my project.
Running the benchmark with SwiftyJSON 3.1.4 (currently the latest) shows a 25% perf gain with JASON, on-device with a 5C. Just wanted to make a note for others who might...
From what I gather by reading #25, the recommended practice is to copy-paste source code instead of using a package manager if you want any of the extensions. Perhaps the...