JSONStruct is a simple web server/service that will translate any json document into valid Go Language Struct.
You can find this service live at JSONStruct Website. This repo is just an open source in case you wish to extend it and do whatever you wish to do with it.
In addition to regular usage over site you can use following command to do it from terminal itself. I have in plan to make this method simplier in the future but for now (unless you wish to contribute):
curl -s http://www.jsonstruct.com/example.json | curl -s -X POST -H "Content-Type: application/json" -d @- http://www.jsonstruct.com/parse
JSONStruct is built on top of Revel Go Framework and with help of Angular.JS
- The Getting Started with Revel.
- The Revel guides.
- The Revel sample apps.
- The API documentation.
I encourage you to contribute to JSONStruct! Please check out the Contributing to JSONStruct for guidelines about how to proceed.
On this way I would like to express my gratitude to those teams/people and above all let everyone knows from where did I grep my code :)