BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface DiagFormatOpts

    Options for diagnostic formatting.

    interface DiagFormatOpts {
        annotate?: boolean;
        summarize?: boolean;
        flat?: boolean;
        tags?: TagsStore | "none" | "global";
        indent?: number;
        indentString?: string;
    }
    Index

    Properties

    annotate?: boolean

    Add tag names as annotations. When true, tagged values are displayed as "tagName(content)" instead of "tagValue(content)".

    false
    
    summarize?: boolean

    Use custom summarizers for tagged values. When true, calls registered summarizers for tagged values.

    false
    
    flat?: boolean

    Single-line (flat) output. When true, arrays and maps are formatted without line breaks.

    false
    
    tags?: TagsStore | "none" | "global"

    Tag store to use for tag name resolution.

    • TagsStore instance: Use specific store
    • 'global': Use global singleton store
    • 'none': Don't use any store (show tag numbers)
    'global'
    
    indent?: number

    Current indentation level (internal use for recursion).

    indentString?: string

    Indentation string (spaces per level).