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

Hooking into other JSON libraries #121

Open
zetashift opened this issue Sep 9, 2022 · 3 comments
Open

Hooking into other JSON libraries #121

zetashift opened this issue Sep 9, 2022 · 3 comments

Comments

@zetashift
Copy link

I am not sure how to use scarango with circe or jsoniter for example. Would be cool to have that flexibility!

@darkfrog26
Copy link
Contributor

As discussed on Gitter, this isn't unreasonable and not incredibly hard to support, but is currently a low priority.

@zetashift
Copy link
Author

Completely understandable, I am quite a beginner at all this, but if I can help out, let me know!
I'll try to experiment with http4s and scarango/Fabric in the mean time, but I'm unsure how an example would look like. http4s for example has a jsonOf thing but I guess I have to define and codecs for:

  • Request -> case class
  • case class -> to a Document

@darkfrog26
Copy link
Contributor

I'll hopefully have an update this weekend, but you can use Fabric with http4s with this: https://github.com/http4s/http4s-fabric

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