Class JsonNodeWriter

java.lang.Object
com.northconcepts.datapipeline.json.builder.JsonNodeWriter

public class JsonNodeWriter extends Object
Walks a JsonTemplate's node tree depth-first, writing one node to a Jackson generator per step.
  • Method Details

    • nextNode

      public JsonNode nextNode(ExpressionContext context, com.fasterxml.jackson.core.JsonGenerator jsonGenerator)
      Writes the next node depth-first, first closing any finished parents, and returns it or null when none remain.