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 .