`:key-fn` for encoding keys with `babashka.json/write-str`

Aperta
#10 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
clojure, json
Ambito
backend

Direzione di ricerca

The request is for a :key-fn option on babashka.json/write-str, mirroring the existing key function on read-str. Start by reading the eight comments to see whether maintainers agreed on the design, then compare the two functions in the source. Done means write-str accepts :key-fn and applies it to map keys, with a test covering it.

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

Descrizione

Would it make sense to add :key-fn for babashka.json/write-str for encoding keys since this is already supported for decoding keys with read-str?

Lingua principale
Clojure
Stelle
40
Fork
4
Merge medio
46m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.