support for indentation?
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- tooling
调研方向
首先定位 JSON.prune 的序列化入口点,并将其参数与 JSON.stringify 的缩进参数进行比较。完成标准是 JSON.prune 接受缩进选项,并生成类似 JSON.stringify 示例的格式化输出,包括制表符和换行符。
由索引模型根据 Issue 内容生成。
描述
Standerted JSON.stringify allows an argument for \t and \n for indentation purposes as follows:
JSON.stringify({ uno: 1, dos: 2 }, null, '\t');
// returns the string:
// '{
// "uno": 1,
// "dos": 2
// }'
JSON.prune supports it as well?
- 主要语言
- JavaScript
- 星标
- 167
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Canop/JSON.prune 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 38/100
Canop/JSON.prune#13 · 2 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 25/100
Canop/JSON.prune#12 · 2 条评论 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 38/100
Canop/JSON.prune#9 · 6 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
Canop/JSON.prune#7 · 8 条评论 · 1 个 reaction ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
help wanted Idea 💡 wdio-cli
难度 2/5 1-3 小时 新手友好度 66/100
webdriverio/webdriverio#16361 · 2 条评论 ·
维护者通常 1 天内回复
-
bug new-client
难度 1/5 1-3 小时 新手友好度 88/100
NUWCDIVNPT/stig-manager#2285 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
Fei2411/DeepSeek-Bot#922 · 1 个 reaction ·
-
Workers AI integration drops output of non-streaming chat responses in the OpenAI format (`choices`)未关闭Bug Cloudflare Workers Spans
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-javascript#26120 · 1 条评论 ·
维护者通常 1 天内回复