bytedance/sonic

Provide methods to parse to/from ast.Node from structures

Aperta

#733 aperta il 13 gen 2025

 (2 commenti) (0 reazioni) (0 assegnatari)Go (454 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (9488 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

It would be convenient even if first pass is implemented as a Marshal to []byte followed by sonic.Get in one direction and MarshalJSON with sonic.Unmarshal in the other, to have methods that interoperate between golang structures and ast.Node

Guida contributor