public Vertex deserializeVertex(Graph graph, JsonObject vertexJson) throws IOException { Vertex vertex; try { GraphElementFactory factory = new GraphElementFactory(graph); vertex = GraphSONUtility.vertexFromJson(vertexJson.toString(), factory, graphsonMode, null); } finally { } return vertex; }