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

未关闭
#19 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

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

主要语言
Swift
星标
544
派生
36
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apple/xcode-project-format 的其他 Issue

查看 apple/xcode-project-format 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。