swift-json
swift-json copied to clipboard
high-performance json parsing and encoding for server applications
[`swift-system-extras `](https://github.com/kelvin13/swift-system-extras) supports macOS now, so the benchmarks should run on macOS as well.
currently the library always emits JSON in minified form, which is good for production but terrible for debugging
JSON5
It would be great, if this library could eventually support [JSON5](https://json5.org/), which comes with a bundle of amazing features. Foundation on macOS supports it by now (through [.json5Allowed](https://developer.apple.com/documentation/foundation/jsonserialization/readingoptions/3746916-json5allowed)), but it...
`JSON.Node(parsing:)` throws `UnexpectedValueError()` when a fractional number is too long, when, ignoring the decimal point, it cannot fit inside `UInt64`: ```json5 // Error [1.00000000000000000000] // No error [1.0000000000000000000] ``` My...
this branch repro’s an issue possibly in swift-testing where JSON parsing takes much, much longer under `swift test -c release` than `swift run -c release`
Conform floating points to `JSONEncodable`. Resolve #91
`JSON.IntegerOverflowError` non-`Sendable` `FixedWidthInteger.Type` build warning: ```text Sources/JSONAST/JSON.IntegerOverflowError.swift:16:13: warning: stored property 'overflows' of 'Sendable'-conforming struct 'IntegerOverflowError' has non-Sendable type 'any FixedWidthInteger.Type' ```