# Encoding/Decoding Recursive Types with miniBill/elm-codec

**URL:** <https://discourse.elm-lang.org/t/encoding-decoding-recursive-types-with-minibill-elm-codec/3898>\
**Category:** Show and Tell\
**Created:** [June 28, 2019, 4:23pm UTC](https://discourse.elm-lang.org/t/encoding-decoding-recursive-types-with-minibill-elm-codec/3898 "2019-06-28T16:23:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rupert](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/rupert/32/1775_2.png) [@rupert](https://discourse.elm-lang.org/u/rupert)\
**Post date:** [June 28, 2019, 7:47pm UTC](https://discourse.elm-lang.org/t/encoding-decoding-recursive-types-with-minibill-elm-codec/3898/2 "2019-06-28T19:47:26Z")

</div>

I knew about it from Slack, and also some previous discussions on here over a year ago ([Is it possible to capture type information about records?](https://discourse.elm-lang.org/t/is-it-possible-to-capture-type-information-about-records/1169)). I have been using `miniBill/elm-codec` in my latest project and finding it very convenient and a significant reduction in boilerplate involved in writing encoders and decoders. I would also recommend this package to anyone needing to write encoders and decoders.

---

_[View the full topic](https://discourse.elm-lang.org/t/encoding-decoding-recursive-types-with-minibill-elm-codec/3898)._
