bytedance/sonic
Provide methods to parse to/from ast.Node from structures
Ouverte
#733 ouverte le 13 janv. 2025
enhancementhelp wanted
Métriques du dépôt
- Stars
- (9 488 étoiles)
- Métriques de merge PR
- (Merge moyen 12j 6h) (3 PRs mergées en 30 j)
Description
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