Support complex and big numeric types?

Aperta
#15 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

Read the numeric comparison and truthiness implementation, then review how json.Number support from #14 is handled. Decide whether complex64, complex128, big.Int, big.Float, or big.Rat should be supported and which JSON parsers make them relevant; done means a clear scope decision, with behavior and tests specified for the selected types.

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

Descrizione

enhancement help wanted question

The implementation currently supports all of Go's core numeric types for comparison and truthiness except for complex64 and complex128. And as of #14 it also supports json.Numbers.

Should it also support complex64 and complex128? What about big.Int, big.Float, and big.Rat? Are those likely to be parsed from JSON? encoding/json does not, but perhaps other JSON parsers?

Is there a need to support these types?

Lingua principale
Go
Stelle
41
Fork
4
Merge medio
2g 8h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di theory/jsonpath

Tutte le issue di theory/jsonpath

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.