Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Preserve key order in output #1

Description

@waldoj

Python's csv.DictReader doesn't maintain order (since it's a dictionary), so the resulting JSON is out of order. Given that CSV files often have columns in a particular order (often with the most important information listed first), we should maintain that order. This Stack Overflow answer suggests how to accomplish that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions