# Do we still need to write custom TypeConverter for custom classes if using Hangfire 1.1+

**URL:** <https://discuss.hangfire.io/t/do-we-still-need-to-write-custom-typeconverter-for-custom-classes-if-using-hangfire-1-1/7575>\
**Category:** question\
**Created:** [July 13, 2020, 2:01pm UTC](https://discuss.hangfire.io/t/do-we-still-need-to-write-custom-typeconverter-for-custom-classes-if-using-hangfire-1-1/7575 "2020-07-13T14:01:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_maki](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/paul_maki/32/2165_2.png) [@paul\_maki](https://discuss.hangfire.io/u/paul_maki)\
**Post date:** [July 13, 2020, 2:01pm UTC](https://discuss.hangfire.io/t/do-we-still-need-to-write-custom-typeconverter-for-custom-classes-if-using-hangfire-1-1/7575/1 "2020-07-13T14:01:13Z")

</div>

The [Are you methods ready to run in background](https://www.hangfire.io/blog/2014/05/10/are-your-methods-ready-to-run-in-background.html) article has following note

> **NOTE**. Since Hangfire 1.1, the [Json.NET](http://Json.NET) package is used to serialize all the things, including custom classes. The information below is obsolete.
> 
> Arguments are also serialized to string, but arguments serialization process uses the `TypeConverter` class. All standard classes like numbers, strings, dates and so on already have the corresponding `TypeConverter` implementation, but if you want to pass an instance of a custom class as an argument, you should write the custom converter first.
> 
> ```auto
> // Does not work until you implement the custom TypeConverter.
> BackgroundJob.Enqueue(() => CheckArticle(new Article()));
> 
> ```

What does this mean for the code example in that section? Does it mean we don’t need to implement a custom `TypeConvert` for the `Article` class?

---

<div class="post-metadata">

**Author:** ![Deantwo](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/deantwo/32/2086_2.png) [@Deantwo](https://discuss.hangfire.io/u/Deantwo)\
**Post date:** [July 13, 2020, 2:06pm UTC](https://discuss.hangfire.io/t/do-we-still-need-to-write-custom-typeconverter-for-custom-classes-if-using-hangfire-1-1/7575/2 "2020-07-13T14:06:53Z")

</div>

> [@Are you methods ready to run in background](#):
>
> The information below is obsolete.

Given that above line, I would guess, no.  
I sure haven’t done it.
