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 example for selda-json #169

Open
seanhess opened this issue Jul 14, 2021 · 2 comments
Open

Add example for selda-json #169

seanhess opened this issue Jul 14, 2021 · 2 comments

Comments

@seanhess
Copy link

Hi there, I've used Selda on several projects, and I can't figure out how to use selda-json from the documentation.

I have a data type with a field that is Map Text Int and I'd like to serialize it as a postgres JSONB type. If I was willing to store it as text I could serialize it manually, or create a newtype to do that, but I'd like to use JSONB if possible.

Can you direct me to an example or create one?

@tonyalaribe
Copy link

We’re you able to figure this out?

@seanhess
Copy link
Author

Hey @tonyalaribe, I don’t remember for sure, but I don’t think I was able to figure it out.

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

2 participants