SwiftPM projects use `swift package describe --type json`, for Xcode projects `xcodebuild -list -json`.