<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itto-ki</author_name>
  <author_url>https://blog.hatena.ne.jp/itto-ki/</author_url>
  <blog_title>SOMPO Digital Lab 開発チームブログ</blog_title>
  <blog_url>https://tech.sompo.io/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>SOMPO Digital Lab ソフトウェアエンジニアの木村です。 業務でアプリケーション開発やデータ分析をしていると日本の都道府県を扱いたくなるケースが多々あります。例えばユーザの住所や店舗の所在地を扱いたい場合です。 ただこの都道府県の扱いは地味に面倒くさかったりします。 例えば「東京都」を扱いたい場合なんかに、文字列から東京都を表すオブジェクトに変換しようとすると”東京都”, ”東京”, ”とうきょう”, ”トウキョウ”の文字列を全て「東京都」として変換して扱う必要があったりします。 (もちろんアプリケーションで行わずとも、予め名寄せしておくといった方法等もあります。) 先日、Rus…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.sompo.io%2Fentry%2F2023%2F04%2F20%2F160935&quot; title=&quot;Rustで都道府県を扱うjp-prefectureクレートを作った - SOMPO Digital Lab 開発チームブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/i/itto-ki/20230331/20230331163008.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-20 16:09:35</published>
  <title>Rustで都道府県を扱うjp-prefectureクレートを作った</title>
  <type>rich</type>
  <url>https://tech.sompo.io/entry/2023/04/20/160935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
