Boltx.ResponseEncoder.Json.Poison (Boltx v0.0.4)

A default implementation for Poison encoding library. More info about poison here: https://hex.pm/packages/poison

Allow this usage:

conn = Boltx.conn()
{:ok, res} = Boltx.query(conn, "MATCH (t:TestNode) RETURN t")
Poison.encode!(res)

Default implementation can be overriden by providing your own implementation.

More info about implementation: https://hexdocs.pm/poison/Poison.html#module-encoder

Note:

In order to benefit from Boltx.ResponseEncoder implementation, use Boltx.ResponseEncoder.Json.encode and pass the result to the Poison encoding functions.