Skip to content

creating outline for mailchimp api json output file #39

Description

@latitude4all

I am trying to use json2csv to convert output from mailchimp api, but I am getting an error

python gen_outline.py --collection nodes text.json -o templatejsonoutput.json

ValueError: Expecting property name: line 1 column 2 (char 1)

The original file text.json has a structure like that:

{'members': [{'id': 'xxxxx', 'email_address': 'xxx@xxx.com', 'unique_email_id': 'xxx', 'email_type': 'html', 'status': 'unsubscribed', 'unsubscribe_reason': 'N/A (Unsubscribed by admin)', 'merge_fields': {'FNAME': '', 'LNAME': '', 'MMERGE3': ''}, 'stats':
Do you know why I am getting this error? Thank you very much for any help.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions