Class PipelineJsonWriter

java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.PipelineJsonWriter

public final class PipelineJsonWriter extends Object
Writes plugin DTOs to JSON via Jackson, wrapped in the Stapler okJSON envelope ({"status":"ok","data":...}) that the frontend expects.

DTOs carry Jackson annotations to control the wire format — null values are omitted (matching the historical bean-processor output) and fields are read regardless of visibility so DTOs can keep package-private fields.