Skip to content

Disable creating nested JSON objects from CSV when headers have dots #282

@typeofweb

Description

@typeofweb

I have a CSV file from Shopify that exports custom fields in the following manner:

og (product.metafields.custom.og),Google: Custom Product (product.metafields.mm-google-shopping.custom_product)

Unfortunately those are converted into nested objects which is completely unexpected:

{
  "og (product": {
    "metafields": {
      "custom": {
        "og)": ""
      }
    }
  }
}

Is there a way to keep those headers as they are instead of nesting?

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