{"categories":["golang","python","egoist"],"url":"https://pod.hatenablog.com/entry/2020/05/16/074131","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/podhmo/","type":"rich","description":"github.com python\u306e\u30af\u30e9\u30b9\u5b9a\u7fa9\u304b\u3089UnmarshalJSON()\u3067\u306evalidation\u4ed8\u304d\u306ego\u306estruct\u5b9a\u7fa9\u3092\u751f\u6210\u3057\u3066\u307f\u308b\u3002\uff08\u3088\u308a\u7d30\u304b\u306a\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306f https://github.com/podhmo/egoist/tree/master/examples/e2e/generate-structkit \u306b\u3042\u308b\uff09 \u306a\u305cUnmarshalJSON()\u4ed8\u304d\u3067\u306e\u751f\u6210\uff1f required/unrequired\u306evalidation\u306f\u3057\u3064\u3064\u3082\u3001unmarshal\u5f8c\u306estruct\u3067\u30dd\u30a4\u30f3\u30bf\u30fc\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u306a\u308b\u3079\u304f\u6301\u3061\u305f\u304f\u306a\u3044\u3002\u6614\u3044\u308d\u3044\u308d\u3053\u306e\u3042\u305f\u308a\u306e\u6319\u52d5\u306b\u3064\u3044\u3066\u8003\u3048\u305f\u308a\u3057\u3066\u3044\u305f\u3002\u8a73\u2026","published":"2020-05-16 07:43:34","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2020%2F05%2F16%2F074131\" title=\"python\u306e\u30af\u30e9\u30b9\u5b9a\u7fa9\u304b\u3089UnmarshalJSON()\u3067\u306evalidation\u4ed8\u304d\u306ego\u306estruct\u5b9a\u7fa9\u3092\u751f\u6210\u3059\u308b - podhmo&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"podhmo","version":"1.0","blog_url":"https://pod.hatenablog.com/","blog_title":"podhmo's diary","title":"python\u306e\u30af\u30e9\u30b9\u5b9a\u7fa9\u304b\u3089UnmarshalJSON()\u3067\u306evalidation\u4ed8\u304d\u306ego\u306estruct\u5b9a\u7fa9\u3092\u751f\u6210\u3059\u308b","provider_url":"https://hatena.blog","height":"190"}