Boltx.ResponseEncoder.Json.Jason (Boltx v0.0.4)
A default implementation for Jason encoding library.
More info about Jason: https://hex.pm/packages/jason
Allow this usage:
conn = Boltx.conn()
{:ok, res} = Boltx.query(conn, "MATCH (t:TestNode) RETURN t")
Jason.encode!(res)
Default implementation can be overriden by providing your own implementation.
More info about implementation: https://hexdocs.pm/jason/readme.html#differences-to-poison
Note:
In order to benefit from Boltx.ResponseEncoder implementation, use
Boltx.ResponseEncoder.Json.encode
and pass the result to the Jason
encoding functions.