JSON
Exact values, strict UTF-8, native Codable, Pointer, presence and finite resource reports.
API reference Exact values and native codingKeep decimal values exact, Unicode scalar keys distinct and resource use explicit. Explore 12 Swift libraries that carry those semantics from input bytes to validated, transformed and encoded output.
Swift 6.4+ · Swift language mode 6 · macOS/SDK 27+ · No package dependencies
Latest stable: Swift-JSON 1.9.0. For a frozen reference, use its compiled DocC catalogs or tagged source documentation.
Exact values, strict UTF-8, native Codable, Pointer, presence and finite resource reports.
API reference Exact values and native codingDraft 2020-12, explicit offline registries, immutable plans, annotations and bounded regex.
API reference Offline schema validationOpt-in deterministic exact candidates and conservative typed proposals, with native offline certification and finite budgets.
API reference Verified exact candidatesPull events and values, strict NDJSON, root-array completion and awaited output chunks.
API reference Completion and backpressureTransactional RFC 6902 JSON Patch and RFC 7396 Merge Patch with exact value semantics.
API reference Choosing and applying patchesExact standalone HTML with offline disclosure/search and native-byte copy/download.
API reference Exact interactive HTMLOpt-in trusted integer construction and policy-explicit Double and Foundation Decimal projection.
API reference Opt-in native conversionsExact typed DFS with physical and virtual scopes, explicit coverage and one cumulative budget.
API reference Exact bounded structural traversalArray evidence, source-attached snapshots, tree and sparse-table views, exact sets and matrices, and directed graphs with finite reports.
API reference Observed array evidenceExact query plans and guarded pull executions with cumulative finite limits.
API reference Scoped exact transformationsTrusted authored exact objects and arrays with finite finalization.
API reference Trusted exact value authoringTrusted authored schema declarations using native compilation and evaluation.
API reference Authored schemas, engine validationRead the package overview and executable examples, then choose a reference above. The behavior contracts explain exact numbers, scalar identity, offline schema evaluation, cumulative budgets and stream completion.
These native DocC references track main and publish after native, safety and documentation CI pass. Retain your resolved package commit for reproducible dependencies. Build source: c2e4aea7cf63. Build information.