{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2Fkotlin_enum_serialization\" title=\"Kotlin \u306e enum class \u3068\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3067\u6c17\u3092\u3064\u3051\u308b\u3053\u3068 - Infinito Nirone 7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/57780856/1549723041654842","blog_url":"https://blog.keithyokoma.dev/","width":"100%","description":"Kotlin \u306e enum \u30af\u30e9\u30b9\u306f\u3001\u307b\u307c Java \u306e enum \u3068\u540c\u3058\u3088\u3046\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u6b21\u306e Kotlin \u30b3\u30fc\u30c9\u306f FOO \u3068 BAR \u3068\u3044\u3046 Hoge \u578b\u306e\u5b9a\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002 enum class Hoge { FOO, BAR } enum \u30af\u30e9\u30b9\u3067\u5b9a\u7fa9\u3057\u305f\u5b9a\u6570\u306f String \u3078\u306e\u5909\u63db (name\u30e1\u30bd\u30c3\u30c9) \u3068\u3001 String \u304b\u3089\u306e\u5909\u63db (valueOf\u30e1\u30bd\u30c3\u30c9) \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u7c21\u5358\u306b\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u30fb\u30c7\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305fenum \u30af\u30e9\u30b9\u306b\u632f\u308b\u821e\u3044\u3092\u8a18\u8ff0\u3067\u304d\u308b\u306e\u3067\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u3082\u305f\u305b\u305f\u308a\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u305f\u308a\u3059\u308b\u30b3\u30fc\u30c9\u3082\u52d5\u304d\u307e\u3059\u3002 enum cla\u2026","categories":["Kotlin","Java"],"version":"1.0","url":"https://blog.keithyokoma.dev/entry/kotlin_enum_serialization","type":"rich","title":"Kotlin \u306e enum class \u3068\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3067\u6c17\u3092\u3064\u3051\u308b\u3053\u3068","blog_title":"Infinito Nirone 7","published":"2019-09-03 10:00:00","height":"190","author_name":"KeithYokoma","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/KeithYokoma/","provider_url":"https://hatena.blog"}