public static void prettyPrintJsonToWriter(Node node, Writer writer) {
        NodeHandler.prettyPrintToWriter(node, "    ", writer);
    }
Writes the contents of a pretty-printed Node to the given writer.

@param node Node to write.
@param writer Writer to write to.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java