How can we serialize arrayList (Export/Import of GraphML format)

30 views
Skip to first unread message

Tejasri pavuluri

unread,
Aug 6, 2020, 9:19:09 AM8/6/20
to Gremlin-users
I was trying to export and import graph data in xml format and looks like GraphML format cannot serialize and deserialize "arraylist" dataType.
How can we add suppport for arraylists (w.r.t GraphML format)?










































Stephen Mallette

unread,
Aug 6, 2020, 9:30:26 AM8/6/20
to gremli...@googlegroups.com
We didn't want to get into the pattern of adding custom types in GraphML so there is no support for that. GraphML does allow you to extend the schema with custom types but we don't offer a way to plugin serializers for that. We typically suggest users not use GraphML except for small simple graphs and instead make use of more robust formats like GraphSON or Gryo. 

On Thu, Aug 6, 2020 at 9:19 AM Tejasri pavuluri <tejas...@gmail.com> wrote:
I was trying to export and import graph data in xml format and looks like GraphML format cannot serialize and deserialize "arraylist" dataType.
How can we add suppport for arraylists (w.r.t GraphML format)?










































--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/a52ad3c8-4eff-4901-bf8e-25d11153d5cdo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages