# Kotlin's a great language for JSON

DevFeed: [Kotlin's a great language for JSON](<https://devfeed.tech/articles/kotlin-s-a-great-language-for-json-15738.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/kotlins-a-great-language-for-json>)

Author: Jesse Wilson

Published: 2017-05-15T17:28:26Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Android](<https://devfeed.tech/topics/android.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [json](<https://devfeed.tech/tags/json.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [moshi](<https://devfeed.tech/tags/moshi.md>), [types](<https://devfeed.tech/tags/types.md>)

## AI overview

The article explains how Kotlin data classes, default values, nullable types, and raw strings can model JSON with less boilerplate. It also announces Moshi 1.5 support for Kotlin, including type adapters and annotations for binding JSON to idiomatic Kotlin models.

## Source excerpt

Why you should model your JSON documents with Kotlin