public int nestingLevel() {
        return nestingLevel;
    }
Gets the current 0-based nesting level of the parser.

@return Returns the current nesting level.
smithy-utils/src/main/java/software/amazon/smithy/utils/SimpleParser.java