[ANN] go-jsonstruct: generate Go structs from multiple JSON objects

59 views
Skip to first unread message

Tom Payne

unread,
Dec 16, 2019, 2:06:36 PM12/16/19
to golang-nuts
Do you have a bunch of JSON objects with no schema that you want to idiomatically unmarshall in Go? Existing JSON-to-Go struct generators take one object as input. This one takes all the JSON objects you can throw at it, be they API responses, unstructured JSON column values in a database, or a document dump from CouchDB or MongoDB. You get back the most-specific Go type that you can unmarshall all the observed values into with encoding/json.


Feedback and improvements welcome :)

Tom


Reply all
Reply to author
Forward
0 new messages