Kong / Kong/httpsnippet

Use Ruby's Native JSON conversion rather than outputting a JSON string

未关闭
#76 6 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.2k
派生
242
PR 合并指标
30 天内没有已合并 PR

描述

i.e instead of:

``` ruby
body = " { \"a\": 123 }"
```

Do:

``` ruby
require 'json'
body = { a: 123 }.to_json
```

贡献指南

打开贡献指南

调研方向

No files, tests, or entry points are named. Start by locating the Ruby snippet generator and its handling of request bodies, then compare its output with the examples in the issue. Done means Ruby snippets use native JSON conversion rather than manually formatted JSON strings.

由索引模型根据 Issue 内容生成。

评估

技术栈
ruby
领域
tooling
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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