go_polymorphic_json
Demonstration of using polymorphic JSON types with golang. (by karaatanassov)
go2json
Golang transpiler: Go AST→JSON→Haxe→? (by CreativeInquiry)
go_polymorphic_json | go2json | |
---|---|---|
1 | 1 | |
10 | 6 | |
- | - | |
10.0 | 10.0 | |
over 1 year ago | over 3 years ago | |
Go | JavaScript | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go_polymorphic_json
Posts with mentions or reviews of go_polymorphic_json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
-
Analyzing AST in Go with JSON tools
Keep polymorphism in JSON structure. If some field references an expression then a particular type will be discriminated from the object type name stored in a separate field NodeType. It is tricky to achieve so if you want something like this for other tasks I would recommend checking out this example https://github.com/karaatanassov/go_polymorphic_json
go2json
Posts with mentions or reviews of go2json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
-
Analyzing AST in Go with JSON tools
Another project go2json, generates JSON from go code. Also missing the backward conversion and poorly maintained. And it is implemented as a standalone parser with javascript. I think in this way it is very hard to maintain and keep it up with new features in golang.
What are some alternatives?
When comparing go_polymorphic_json and go2json you can also consider the following projects:
goast-viewer - Golang AST visualizer
asty - Converts golang AST to JSON and JSON to AST
jq - Command-line JSON processor
goblin - convert from a Go AST to JSON
asty-python - Python interface for asty