// Path: neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/utils/DataConverterUtils.java
// public static Map<String, Object> relationshipToMap(Relationship value) {
//     Map<String, Object> relMap = new LinkedHashMap<>();
//     relMap.put("_id", value.id());
//     relMap.put("_type", value.type());
//     relMap.put("_startId", value.startNodeId());
//     relMap.put("_endId", value.endNodeId());
//     relMap.putAll(convertFields(value.asMap()));
//     return relMap;
// }


import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import org.neo4j.driver.types.Relationship;
import java.io.IOException;
import java.util.Map;
import static org.neo4j.jdbc.utils.DataConverterUtils.relationshipToMap;
package org.neo4j.jdbc.utils;




public class RelationshipSerializer extends JsonSerializer<Relationship> {
    @Override
// Path: neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/utils/DataConverterUtils.java
// public static Map<String, Object> relationshipToMap(Relationship value) {
//     Map<String, Object> relMap = new LinkedHashMap<>();
//     relMap.put("_id", value.id());
//     relMap.put("_type", value.type());
//     relMap.put("_startId", value.startNodeId());
//     relMap.put("_endId", value.endNodeId());
//     relMap.putAll(convertFields(value.asMap()));
//     return relMap;
// }


// Path: neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/utils/RelationshipSerializer.java
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import org.neo4j.driver.types.Relationship;
import java.io.IOException;
import java.util.Map;
import static org.neo4j.jdbc.utils.DataConverterUtils.relationshipToMap;

package org.neo4j.jdbc.utils;




public class RelationshipSerializer extends JsonSerializer<Relationship> {
    @Override
    public void serialize(Relationship value, JsonGenerator jsonGenerator, SerializerProvider serializers) throws IOException {