Skip to content

Commit

Permalink
[docs] Mention KStateMachineSerializersModule in a doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nsk90 committed Oct 23, 2024
1 parent ead5e31 commit b5339e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pages/persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: page
title: Persistence
---

# Persistence
# Persistence (Serialization)
{: .no_toc }

## Table of contents
Expand Down Expand Up @@ -58,7 +58,8 @@ val recordedEvents = machine.eventRecorder.getRecordedEvents()
`RecordedEvents` object now is ready to be serialized. The library provides an implementation
of serialization process using `kotlinx.serialization` library starting from `KStateMachine` version `v0.32.0`.

Initialize serialization format (JSON for instance):
Initialize serialization format (JSON for instance) using `KStateMachineSerializersModule`. This module contains
serialization routines for library classes.

```kotlin
val jsonFormat = Json {
Expand Down

0 comments on commit b5339e2

Please sign in to comment.