dapr / dapr/java-sdk

[Proposal] New project to handle JSON serialization

Open
#509 3 comments 5 reactions 0 assignees View on GitHub
size/M
Dominant language
Java
Stars
300
Forks
230
Avg merge
1d 20h
Merged PRs (30d)
4

Description

The core SDK does not provide solutions for serialization of application domain objects, it only offers an interface. In order to enable applications to opt-in to specific serialization solutions, it might be better to expose as an optional project (similar to how it is done in Spring Boot).

This proposal is to create a new project for JSON serialization that apps can opt in and be extensible, so it can be configured to handle specific scenarios unique for each app. This package should be specific per vendor, which means a different JSON serializer should be done in a separate project.

This new project would also *not* be opinionated (but customizable) in how data types are serialized. Like DateTime, for example.

We can start with `dapr-jackson` project, where it uses the Jackson serializer. Possible names:
* `dapr-jackson`
* `dapr-serialization-jackson`
* `dapr-serialize-jackson`

## Open questions

* How would apps implement their own versioning logic on top of this serializer?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.