
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Generic derivation for ADTs in Scala with a custom representation
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Generic derivation for ADTs in Scala with a custom representation
Representing case classes as JSON arrays The first thing to note is that the circe-shapes module ... Representing case classes as JSON arrays The first thing to note is that the circe-shapes module provides instances for Shapeless's HLists that use an array representation like the one we want for our case classes. For example: scala> import io.circe.shapes._ import io.circe.shapes._ scala> import shapeless._ import shapeless._ scala> ("foo" :: 1 :: List(true, false) :: HNil).asJson.noSpaces res4: