WorkLensDocs
    Studio
    reference

    Output formats

    What a run can write: CSV, JSON, SQL and nested documents from the CLI and SDK, plus fixed-width files for recipes that declare a layout.

    Last updated 2026-09-14 · Markdown

    Summary

    The same rows can be written as CSV, JSON, SQL or a nested document from a root entity; a recipe that declares a fixed-width layout writes byte-positional records.

    Rowsone run
    --formatcsv · json · sql · nested
    Fileor stdout

    Formats

    • csv — the default; one file per table from bundle, or the root table from generate.
    • json — an array of row objects.
    • sql — INSERT statements.
    • nested — one document from a root entity (--root), children embedded; also generateNested in the SDK.
    • A referential slice — --slice N keeps N root rows and everything they point at; generateSlice in the SDK.
    • fixed — byte-positional records for recipes whose output block declares a skeleton and overlay; exportFixedWidth in the SDK.
    Two decimals, one canonical form
    Decimal numbers are written with exactly two places and values in one standard form; locale formatting (decimal comma, thousands separators) is not generated. See Limitations.