flat
Flatten/unflatten nested map or JSON object in Golang (by nqd)
go-jsonstruct
Generate Go structs from multiple JSON objects. (by twpayne)
flat | go-jsonstruct | |
---|---|---|
1 | 2 | |
64 | 228 | |
- | - | |
0.0 | 6.8 | |
about 1 year ago | about 2 months ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" 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.
flat
Posts with mentions or reviews of flat.
We have used some of these posts to build our list of alternatives
and similar projects.
-
How can I unmarshall nested json to become simple json pairs Golang?
Looks like someone's written a general-purpose flattener: https://github.com/nqd/flat
go-jsonstruct
Posts with mentions or reviews of go-jsonstruct.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-06.
- Are you using ChatGPT internally at your company?
-
Inconsistent typing in JSON feed
Check out github.com/twpayne/go-jsonstruct. You can feed it examples of the JSON values you receive and it will generate the most specific Go struct definition that matches all the values.
What are some alternatives?
When comparing flat and go-jsonstruct you can also consider the following projects:
clerk - An executable JSON validator with JSON schema to validate documents from local files or databases.
kong - Kong is a command-line parser for Go
gojson - Automatically generate Go (golang) struct definitions from example JSON
typex - [TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.
chatbox - Chatbox is a desktop client for ChatGPT, Claude and other LLMs, available on Windows, Mac, Linux