JSON data Export and import

Maybe you need to repeat the list of keys for each branch?


json question_2022Jan22a.gh (10.4 KB)

But your keys are just a sequential list of integers, basically index values for an array and otherwise useless. So what you have is five arrays (branches).

P.S. Simple Python for converting each branch into a JSON array.

import json

JSON = json.dumps(x)


json question_2022Jan22b.gh (11.0 KB)

1 Like