[Question]: Why did you decide to use JSON5?
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- json, swift
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Swift
- 星标
- 544
- 派生
- 36
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apple/xcode-project-format 的其他 Issue
-
[Bug]: xcprojformatter prints redundant/non-helpful information after a decode failure可能已有人在做 @akhil9tiet 于 1 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 70/100
apple/xcode-project-format#27 · 1 条评论 ·
-
Negative encoding value crashes the decoder可能已有人在做 @nassersala 于 60 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
-
[Bug]: Decoder does not restore the parent value after decoding a child可能已有人在做 @hippi345 于 32 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
-
enhancement
难度 3/5 1-2 天 新手友好度 58/100
apple/xcode-project-format#20 · 2 条评论 ·
查看 apple/xcode-project-format 的全部 Issue
相似的 Issue
-
mac
难度 2/5 1-3 小时 新手友好度 64/100
VictorKildahl/cra#487 · 1 条评论 ·
维护者通常 1 天内回复
-
Update CI Config未关闭
难度 1/5 1 小时以内 新手友好度 64/100
ashfurrow/Nimble-Snapshots#316 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
-
area: performance
难度 2/5 1-3 小时 新手友好度 76/100
manaflow-ai/cmux#44791 · 1 条评论 ·
维护者通常 1 天内回复
-
priority: p2 type: bug type: docs
难度 2/5 1-3 小时 新手友好度 84/100
googleapis/google-cloud-swift#1641 ·
维护者通常 1 天内回复