Class NodeHandler

java.lang.Object
software.amazon.smithy.model.node.internal.NodeHandler

public final class NodeHandler extends Object
Serializes Node values to JSON.

JSON parsing now lives in the loader package (JsonAstReader); this class only retains the writer entry points.

  • Method Details

    • print

      public static String print(Node node)
    • prettyPrint

      public static String prettyPrint(Node node, String indentString)
    • prettyPrintToWriter

      public static void prettyPrintToWriter(Node node, String indentString, Writer writer)