Go Language JSON to Struct
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /usr/www/phpsites/public/yayprogramming/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Ever saw a huge JSON string and wanted it as a Go Language Struct? Here’s a great tool to automagically convert that JSON to a usable struct for your golang application.
Try it out for yourself!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | { "user": [{ "id": 1, "name": "bill" }, { "id": 2, "name": "joe" }, { "id": 3, "name": "tom" }], "address": [{ "user_id": 1, "line1": "6546 yoyo lane", "city": "san francisco", "state": "california" }] } |
Docker
Next Post
Secret Environment Variables with Drone
Go Language