{"categories":["Go"],"provider_name":"Hatena Blog","published":"2017-01-31 02:39:53","height":"190","provider_url":"https://hatena.blog","blog_url":"https://inaba.hatenablog.com/","title":"\u3010Go\u3011struct\u3092JSON\u306b\u3059\u308b\u6642\u3001\u30bc\u30ed\u5024\u3092\u542b\u3080/\u542b\u307e\u306a\u3044\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u3068\u6ce8\u610f\u70b9 #golang","width":"100%","version":"1.0","author_name":"i178inaba","image_url":null,"blog_title":"Technology Engineering","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaba.hatenablog.com%2Fentry%2F2017%2F01%2F31%2F023953\" title=\"\u3010Go\u3011struct\u3092JSON\u306b\u3059\u308b\u6642\u3001\u30bc\u30ed\u5024\u3092\u542b\u3080/\u542b\u307e\u306a\u3044\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u3068\u6ce8\u610f\u70b9 #golang - Technology Engineering\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/i178inaba/","type":"rich","url":"https://inaba.hatenablog.com/entry/2017/01/31/023953","description":"inaba\u3067\u3059\u3002 Go\u8a00\u8a9e\u3067struct\u3092JSON\u306b\u3059\u308b\u6642\u3001\u30bc\u30ed\u5024\u3092\u542b\u307e\u306a\u3044\u5834\u5408\u306f\u30bf\u30b0\u306bomitempty\u3092\u3064\u3051\u307e\u3059\u3088\u306d\u3002 type stampCard struct { Stamp int `json:\"stamp,omitempty\"` } \u3057\u304b\u3057\u3001\u540c\u3058struct\u3092\u4f7f\u3063\u3066\u3044\u308b\u6642\u306b\u30bc\u30ed\u5024\u3092\u542b\u3080/\u542b\u307e\u306a\u3044\u3092\u5207\u308a\u66ff\u3048\u305f\u3044\u6642\u304c\u3042\u308a\u307e\u3059\u3002 \u5177\u4f53\u7684\u306b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306astruct\u3067\u3059\u3002 type stampCard struct { InStampRally bool `json:\"in_stamp_rally\"` Stamp int `json:\"stamp,omitempty\"` } \u4e0a\u8a18\u306estru\u2026"}