// Path: neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/utils/DataConverterUtils.java
// public static Map<String, Object> nodeToMap(Node value) {
//     Map<String, Object> nodeMap = new LinkedHashMap<>();
//     nodeMap.put("_id", value.id());
//     nodeMap.put("_labels", value.labels());
//     nodeMap.putAll(convertFields(value.asMap()));
//     return nodeMap;
// }


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




public class NodeSerializer extends JsonSerializer<Node> {
    @Override
    public void serialize(Node value, JsonGenerator jsonGenerator, SerializerProvider serializers) throws IOException {
// Path: neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/utils/DataConverterUtils.java
// public static Map<String, Object> nodeToMap(Node value) {
//     Map<String, Object> nodeMap = new LinkedHashMap<>();
//     nodeMap.put("_id", value.id());
//     nodeMap.put("_labels", value.labels());
//     nodeMap.putAll(convertFields(value.asMap()));
//     return nodeMap;
// }


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

package org.neo4j.jdbc.utils;




public class NodeSerializer extends JsonSerializer<Node> {
    @Override
    public void serialize(Node value, JsonGenerator jsonGenerator, SerializerProvider serializers) throws IOException {
        Map<String, Object> nodeMap = nodeToMap(value);