outr / scarango

ArangoDB client written in Scala
MIT License
59 stars 20 forks source link

Hooking into other JSON libraries #121

Open zetashift opened 2 years ago

zetashift commented 2 years ago

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

darkfrog26 commented 2 years ago

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

zetashift commented 2 years ago

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:

darkfrog26 commented 2 years ago

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