Swift model collections for parsing Package.swift
.
Warning
This product is very experimental. It doesn't have enough test cases.
SwiftPM has a feature to dump the Package.swift
resolution result as JSON. This package provides Codable
models to handle the JSON.
swift package dump-package > package.json
import PackageManifestKit
let manifest = jsonDecoder.decode(Manifest.self, from: jsonData)