Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using JSONB instead of BYTEA as column type (for both journals and snapshots) #189

Open
odd opened this issue Sep 7, 2021 · 0 comments

Comments

@odd
Copy link
Contributor

odd commented Sep 7, 2021

Add a new JSON serializer trait that handles JSON serialization, e.g. something like:

trait JsonSerializer {
  def serialize(o: Any): (Json, Class[_])
  def deserialize(json: Json, targetClass: Class[_]): Any
}

Users then implement and supply (via configuration) their own JsonSerializer that handles serialization for their domain objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant