JacksonSerdes
class JacksonSerdes
Serde implementations for Jackson.
You can use these serdes for serializing and deserializing state, side effects results and awakeables using Jackson's ObjectMapper.
For example:
private static final StateKey<Person> PERSON = StateKey.of("person", JacksonSerdes.of(Person.class));
Content copied to clipboard
private static final StateKey<List<Person>> PEOPLE = StateKey.of("people", JacksonSerdes.of(new TypeReference<>() {}));
Content copied to clipboard