go-xmlstruct
Generate Go structs from multiple XML documents. (by twpayne)
zek
Generate a Go struct from XML. (by miku)
go-xmlstruct | zek | |
---|---|---|
3 | 2 | |
63 | 729 | |
- | - | |
6.4 | 6.6 | |
16 days ago | 8 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 only |
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-xmlstruct
Posts with mentions or reviews of go-xmlstruct.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-30.
-
Newbie: I have a big xml file, the content is much nested tags and what I need to do is adding a field in a very nested tag in this file. One “not elegant” way is to make thousands of structs to parse the file. Do you guys have a simple solution for a task like that.
Check out https://github.com/twpayne/go-xmlstruct.
- Go-xmlstruct: generate Go structs from example XML documents
- go-xmlstruct: generate Go structs from multiple XML documents, with accurate types
zek
Posts with mentions or reviews of zek.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-30.
-
Newbie: I have a big xml file, the content is much nested tags and what I need to do is adding a field in a very nested tag in this file. One “not elegant” way is to make thousands of structs to parse the file. Do you guys have a simple solution for a task like that.
I use zek for big XML operations. You give it an XML file and it outputs a struct — https://github.com/miku/zek
What are some alternatives?
When comparing go-xmlstruct and zek you can also consider the following projects:
xml2map - XML to MAP converter written Golang
go-xmldom - XML DOM processing for Golang, supports xpath query
gowww/router - ⚡️ A lightning fast HTTP router
xmlfmt - Go XML Formatter (Beautifier)
xmlwriter - xmlwriter is a pure-Go library providing procedural XML generation based on libxml2's xmlwriter module
mxj - Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
chidley - Convert XML to Go structs / XML to JSON