[Question]: Why did you decide to use JSON5?

Offen
#19 4 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
35/100
Issue-Typ
Dokumentation
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
json, swift

Rechercherichtung

This is a question about JSON5 and the formatted output of xcrun xcodeproj; the issue names no repository files or tests to start from. Read the project documentation for the format and command-line output rationale, then answer both questions with the relevant context.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

question
Your question

I would love to know the thought process behind using JSON5, which isn't widely adopted nor supported by most CLI tools like jq. Essentially, this format is incompatible with most well-established CLI tools, making it a headache to integrate. The community will be forced to update and extend a lot of tools to work with it. So I'm curious why did anyone decide to use it in Xcode?

The second question is: Why did you decide to print a formatted human-readable output from xcrun xcodeproj? There is no flag to get a regular JSON or something like that, making it very unfriendly to use with any kind of automation.

I know that probably those questions aren't strictly connected to this repository, but there is no better match that I'm aware of.

Context

No response

What have you already tried?

No response

Vorherrschende Sprache
Swift
Sterne
544
Forks
36
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apple/xcode-project-format

Alle Issues in apple/xcode-project-format

Ähnliche Issues

Weitere Issues zu Swift

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.