Is there a standard, human-friendly, serialization format?

21 views
Skip to first unread message

Laura Morales

unread,
Dec 14, 2020, 3:22:43 AM12/14/20
to janus ml
All the examples that I see in the Janus documentation seem to use Groovy. Instructions such as JanusGraphFactory.open(), graph.openManagement(), mgmt.makeEdgeLabel() etc.
Is there any human-friendly plaintext format that I can use to write my graph with, and then load into Janus? In practical terms what I would like to do is this:

1. write my graph in a text file, all nodes and edges, and the schema too. So the format should be human-friendly and easy to edit manually. Hopefully not XML.
2. load this graph into Janus by asking Janus to read my graph file. Not in-memory though, I mean to create a new persistent database that is always there when Janus starts.

Evgeniy Ignatiev

unread,
Dec 14, 2020, 3:36:50 AM12/14/20
to janusgra...@googlegroups.com
Hi Laura,

Many people use CSV for data and JSON for schemas (in other graph
databases too). Not sure what will be the most "standard" or "efficient"
approach, but CSV/JSON seems to be most common. For example
https://github.com/IBM/janusgraph-utils and
https://github.com/dengziming/janusgraph-util

Best regards,
Evgenii Ignatev.
Reply all
Reply to author
Forward
0 new messages