Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resulting data structure is list of dictionaries #6

Closed
afuetterer opened this issue Aug 7, 2019 · 1 comment
Closed

Resulting data structure is list of dictionaries #6

afuetterer opened this issue Aug 7, 2019 · 1 comment
Assignees

Comments

@afuetterer
Copy link
Contributor

afuetterer commented Aug 7, 2019

The Parser class in the library ddi.py creates a dictionary of dictionaries:

result.json

{
  "variable":
    {
      "name": "variable"
    }
}

Do not keep this behavior. Instead create a list of dictionaries, looking like this:

result.json

[
  {
    "name": "variable"
  }
]
@afuetterer
Copy link
Contributor Author

This format is also required by the functional test case using the dataset JSON schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants