bytedance/sonic

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

Open

#733 opened on Jan 13, 2025

 (2 comments) (0 reactions) (0 assignees)Go (454 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (9,488 stars)
PR merge metrics
 (PR metrics pending)

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

Contributor guide