JSON-to-Figma icon indicating copy to clipboard operation
JSON-to-Figma copied to clipboard

Lists support

Open baronvertigovongrahamthesecondofsealand opened this issue 3 years ago • 5 comments

We have a list of food ingredients that need to be imported into separate fields.

ie.

...
"ingredientsList": [
  [
    "1 x 20cm pizza base",
    "2 large garlic cloves (or three small), peeled",
    "Flaky sea salt",
    "2 tablespoons extra virgin olive oil",
    "Mozzarella",
    "Parmesan",
    "1 large courgette",
    "Havarti",
    "Gruyere",
    "2 tablespoons pine nuts",
    "1 lemon",
    "Extra virgin olive oil"
  ]
...

Need to be able to reference each ingredient separately, but when we import its showing us the following (for example):

Image Pasted at 2021-6-30 15-39

The data doesnt get pulled in when choosing one of those fields. Any ideas?

@baronvertigovongrahamthesecondofsealand thanks for feedback. I'll check it :-)

PavelLaptev avatar Jun 30 '21 08:06 PavelLaptev

Thanks! Also note that we have multiple ingredients lists per recipe, hence the second level nesting.

This would be a dream come true if you could support lists/arrays <3 Willing to test this!

jbot5000 avatar Aug 12 '21 17:08 jbot5000

@baronvertigovongrahamthesecondofsealand thanks for feedback. I'll check it :-)

Any progress on this? 😃

megaroeny avatar Sep 01 '21 16:09 megaroeny

@megaroeny this feature requires quite UI and code changes. But I'll keep it in mind. WIll try to add next release

PavelLaptev avatar Jan 15 '23 00:01 PavelLaptev