0

I am using jruby-1.7.6 and neo4j 2.0.1.

There is a Pacer Gem and pacer-neo4j gem that provides

Pacer::GraphML.import

which can be used to import GraphML file into neo4j.

What to do about GraphSON file? What are other options to Is pacer only way to import GraphML file to neo4j through ruby?

Niroj Shrestha
  • 165
  • 1
  • 1
  • 6

1 Answers1

0

You can also import graphml with the shell import tools, which works independent of any programming language.

For GraphSON you can probably just pass the GraphSON-JSON Map to Cypher directly and use the map + collection support to import the details?

See for an ruby example of some JSON: https://gist.github.com/jexp/3b60a3a1f29061853e8c

Michael Hunger
  • 41,339
  • 3
  • 57
  • 80