SheetXL - v1.0.2
    Preparing search index...

    Interface ToJSONOptions

    interface ToJSONOptions {
        ignoreData?: boolean;
        ignoreFormulas?: boolean;
        ignoreStyles?: boolean;
        resources?: Writer | "ignore" | "embed";
    }
    Index
    ignoreData?: boolean

    If true the raw values will not be included in the JSON.

    When ignoring Data the strings will also not be included in the JSON.

    ignoreFormulas?: boolean

    If true the formulas will not be included in the JSON.

    ignoreStyles?: boolean

    If true the resources will not include formatting.

    This will also ignore merges and hyperlinks styles

    resources?: Writer | "ignore" | "embed"

    How resources — images and the other binaries the sheet references — are written.

    • 'embed' serializes each one into the JSON, base64 encoded.
    • 'ignore' writes every id as 0 and no resources.
    • An IResource.Writer puts each one wherever the caller wants and records what it returns, so resources can be stored outside the JSON — uploaded and referenced by uri, or emitted as parts of another format and referenced by id alone.
    'embed'