Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-website/topics/serialization-customization-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ fun main() {
```
{kotlin-runnable="true" id="serial-names"}

> If you assign the same `@SerialName` to multiple classes, an `IllegalStateException` is thrown.
>
{style="note"}

### Define constructor properties for serialization

A class annotated with `@Serializable` must declare all parameters in its primary constructor as properties.
Expand Down
Loading