goblin VS go2json

Compare goblin vs go2json and see what are their differences.

goblin

convert from a Go AST to JSON (by ReconfigureIO)

go2json

Golang transpiler: Go AST→JSON→Haxe→? (by CreativeInquiry)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
goblin go2json
1 1
41 6
- -
10.0 10.0
over 3 years ago over 3 years ago
Go JavaScript
Apache License 2.0 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.

goblin

Posts with mentions or reviews of goblin. 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
    7 projects | dev.to | 5 Sep 2022
    One project goblin, which I tried to use for a while, is quite good and mature, but it misses support of backward conversion from JSON to AST. It tries to reinterpret some structures in AST to (I guess) simplify and make them more human-readable. My personal opinion - it is not good. But the main issue with it is lack of maintenance. It was developed a long time ago for version 1.16 and was not updated since then. However, you can find a fork of it relatively up to date.

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
    7 projects | dev.to | 5 Sep 2022
    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 goblin 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 [Moved to: https://github.com/jqlang/jq]

go_polymorphic_json - Demonstration of using polymorphic JSON types with golang.

asty-python - Python interface for asty