diff --git a/Sources/SwiftPackageListCore/Output Generation/JSON/JSONGenerator.swift b/Sources/SwiftPackageListCore/Output Generation/JSON/JSONGenerator.swift index cd35bd5..5f6c32c 100644 --- a/Sources/SwiftPackageListCore/Output Generation/JSON/JSONGenerator.swift +++ b/Sources/SwiftPackageListCore/Output Generation/JSON/JSONGenerator.swift @@ -15,7 +15,7 @@ struct JSONGenerator: OutputGenerator { private let jsonEncoder: JSONEncoder = { let encoder = JSONEncoder() - encoder.outputFormatting = .prettyPrinted + encoder.outputFormatting = .sortedKeys return encoder }()