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

Parsing Arrays containing Objects #34

Closed
sdnyco opened this issue Oct 11, 2015 · 2 comments
Closed

Parsing Arrays containing Objects #34

sdnyco opened this issue Oct 11, 2015 · 2 comments

Comments

@sdnyco
Copy link

sdnyco commented Oct 11, 2015

Am I doing something wrong or is it currently not possible to parse arrays containing objects?

See example below:

[
  {
    "array": [
      {
        "id": 1,
        "details": "first details"
      },
      {
        "id": 2,
        "details": "more details"
      }
    ],
    "secondArray": [
      {
        "id": 3,
        "details": "just another object"
      }
    ]
  }
]
@nitrada
Copy link
Member

nitrada commented Oct 15, 2015

this should be possible since https://github.com/preciousforever/sketch-data-populator/releases/tag/v1.2.1— shouldn't it, @lukas77me?

@nitrada
Copy link
Member

nitrada commented Nov 24, 2015

@sdnyco I was wrong actually – at the time I replied it was possible to use nested data via dot path, but it's only since v1.3.0 that nested arrays do work. can you give it a go with the recent version of the plugin and let us know if it worked?

@nitrada nitrada closed this as completed Dec 3, 2015
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

2 participants