johannessen / neo4j-driver-perl

Neo4j graph database driver (Bolt/Jolt) for Perl
https://metacpan.org/pod/Neo4j::Driver
Artistic License 2.0
5 stars 1 forks source link

Improve Jolt implementation #9

Open johannessen opened 3 years ago

johannessen commented 3 years ago

Jolt (“JSON Bolt”) in Neo4j 4.2 can replace our regex parsing of the old rest result format and should solve the issue of relevant metadata not being available in the server’s JSON response (e. g. neo4j/neo4j#12613).

This works via the HTTP Accept header, which is great for compatibility, but will entail some major changes to the driver.

johannessen commented 3 years ago

Jolt is available starting with driver version 0.21 by setting the jolt config option to a truthy value. Based on tests run so far, Jolt seems more reliable than JSON and is also significantly faster.

However, there is more work to be done:

johannessen commented 3 years ago

1fbca883375e98de5f06dbb4bea3aa135902609f, released as version 0.24, makes Jolt the default. Please be sure to report any issues.