graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java
public Edge edgeFromJson(final JSONObject json, final Vertex out, final Vertex in) throws IOException {
    return this.edgeFromJson(json.toString(), out, in);
  }
public Edge edgeFromJson(final JSONObject json, final Vertex out, final Vertex in) throws IOException {
    return this.edgeFromJson(json.toString(), out, in);
  }
Creates an edge from GraphSON using settings supplied in the constructor.