Skip to content
This repository was archived by the owner on Jan 9, 2018. It is now read-only.
This repository was archived by the owner on Jan 9, 2018. It is now read-only.

Exporting array of objects, some rows have columns in a different order... #12

@kimptoc

Description

@kimptoc

Hi,

Many thanks for this package - very useful.

I am using it to convert an array of objects, most come out ok, columns in the same order, but a few come out with the columns jumbled up - relative to the rest.

Looking at the code, it just iterates over the properties to convert it into an array.

Any plans to try to make it more consistent?

Perhaps look at the first object and then use that to determine the fields to use for the others. Although that assumes that they are all the same...

Cheers,
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions