public EquivalenceList deserialize(JsonElement json,
            Type type,
            JsonDeserializationContext context) throws JsonParseException {
        EquivalenceList equivalenceList = new EquivalenceList();

        JsonArray jsonArrayOfEquivalences = json.getAsJsonArray();
        for (int i = 0; i < jsonArrayOfEquivalences.size(); i++) {
            equivalenceList.addEquivalence(
                    this.getEquivalence(jsonArrayOfEquivalences.get(i)));
        }

        return equivalenceList;
    }