Kong / Kong/httpsnippet

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

Aperta
#76 6 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
1.2k
Fork
242
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

i.e instead of:

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

Do:

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ruby
Ambito
tooling
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.