Bolt.Sips v1.5.1 Bolt.Sips.ResponseEncoder.Json.Poison View Source
A default implementation for Poison encoding library. More info about poison here: https://hex.pm/packages/poison
Allow this usage:
conn = Bolt.Sips.conn()
{:ok, res} = Bolt.Sips.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 Bolt.Sips.ResponseEncoder implementation, use
Bolt.Sips.ResponseEncoder.Json.encode
and pass the result to the Poison
encoding functions.