{"blog_title":"19\u65e5\u306b\u66f4\u65b0\u3057\u3066\u305f","image_url":null,"title":"\u3010golang\u3011json.Unmarshal \u6642\u306e struct","url":"https://owiewowe.hatenablog.com/entry/2024/09/19/000000_1","author_name":"owiewowe","categories":[],"height":"190","version":"1.0","provider_name":"Hatena Blog","published":"2024-09-19 00:00:00","description":"api \u304b\u3089\u53d6\u5f97\u3057\u305f json \u3092 struct \u3067\u5168\u3066 json.Unmarshal \u3057\u3066\u3082\u305d\u306e\u5185\u5bb9\u306e\u5168\u90e8\u306f\u4f7f\u308f\u306a\u3044\u3088\u3046\u306a\u3068\u304d\u306b\u306f\u3001\u4f7f\u308f\u306a\u3044\u90e8\u5206\u306e struct \u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u3082\u52d5\u304f\u3088\u3046\u3067\u3042\u308b\u3002 package main import ( \"encoding/json\" \"fmt\" ) type test0 struct { A string `json:\"a\"` B struct { C string `json:\"c\"` D string `json:\"d\"` E struct { F string `json:\"f\"` G string `json:\"g\"` } `json:\"e\u2026","blog_url":"https://owiewowe.hatenablog.com/","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/owiewowe/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fowiewowe.hatenablog.com%2Fentry%2F2024%2F09%2F19%2F000000_1\" title=\"\u3010golang\u3011json.Unmarshal \u6642\u306e struct - 19\u65e5\u306b\u66f4\u65b0\u3057\u3066\u305f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}