public static Edge edgeFromJson ( final JSONObject json , final Vertex out , final Vertex in , final ElementFactory factory , final GraphSONMode mode , final Set < String > propertyKeys ) throws IOException { final OGraphSONUtility graphson = new OGraphSONUtility ( mode , factory , null , propertyKeys ) ; return graphson . edgeFromJson ( json , out , in ) ; }
Reads an individual Edge from JSON . The edge must match the accepted GraphSON format .