@Test
    @FeatureRequirement(featureClass = Graph.Features.GraphFeatures.class, feature = Graph.Features.GraphFeatures.FEATURE_IO_READ)
    public void g_io_readXjsonX() throws IOException {
        final String fileToRead = TestHelper.generateTempFileFromResource(ReadTest.class, GraphSONResourceAccess.class, "tinkerpop-modern-v3.json", "").getAbsolutePath().replace('\\', '/');
        final Traversal<Object,Object> traversal = get_g_io_readXjsonX(fileToRead);
        printTraversalForm(traversal);
        traversal.iterate();

        if (graph instanceof RemoteGraph) {
            assertEquals(6L, g.V().count().next().longValue());
            assertEquals(6L, g.E().count().next().longValue());
        } else {
            IoTest.assertModernGraph(graph, false, true);
        }
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ReadTest.java