graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java
public static Vertex vertexFromJson(final JSONObject json, final ElementFactory factory, final GraphSONMode mode,
      final Set<String> propertyKeys) throws IOException {
    final OGraphSONUtility graphson = new OGraphSONUtility(mode, factory, propertyKeys, null);
    return graphson.vertexFromJson(json);
  }
public static Vertex vertexFromJson(final JSONObject json, final ElementFactory factory, final GraphSONMode mode,
      final Set<String> propertyKeys) throws IOException {
    final OGraphSONUtility graphson = new OGraphSONUtility(mode, factory, propertyKeys, null);
    return graphson.vertexFromJson(json);
  }
public static Vertex vertexFromJson ( final JSONObject json , final ElementFactory factory , final GraphSONMode mode , final Set < String > propertyKeys ) throws IOException { final OGraphSONUtility graphson = new OGraphSONUtility ( mode , factory , propertyKeys , null ) ; return graphson . vertexFromJson ( json ) ; }
Reads an individual Vertex from JSON. The vertex must match the accepted GraphSON format.

@param json
a single vertex in GraphSON format as Jettison JSONObject
@param factory
the factory responsible for constructing graph elements
@param mode
the mode of the GraphSON
@param propertyKeys
a list of keys to include on reading of element properties
Reads an individual Vertex from JSON . The vertex must match the accepted GraphSON format .