# Kotlin doesn't play nicely with Jackson if the property name contains "is"

**URL:** <https://discuss.kotlinlang.org/t/kotlin-doesnt-play-nicely-with-jackson-if-the-property-name-contains-is/5798>\
**Category:** Support\
**Created:** [December 13, 2017, 10:32am UTC](https://discuss.kotlinlang.org/t/kotlin-doesnt-play-nicely-with-jackson-if-the-property-name-contains-is/5798 "2017-12-13T10:32:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![whaph](https://avatars.discourse-cdn.com/v4/letter/w/f9ae1b/32.png) [@whaph](https://discuss.kotlinlang.org/u/whaph)\
**Post date:** [December 13, 2017, 12:32pm UTC](https://discuss.kotlinlang.org/t/kotlin-doesnt-play-nicely-with-jackson-if-the-property-name-contains-is/5798/3 "2017-12-13T12:32:38Z")

</div>

Something like this should do the trick, I guess:

class MyResponse(directory: String){  
val isDirectory : String  
@JvmName(“isDirectory”) get() = field

```
init {
    isDirectory = directory
}

```

}

---

_[View the full topic](https://discuss.kotlinlang.org/t/kotlin-doesnt-play-nicely-with-jackson-if-the-property-name-contains-is/5798)._
