Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Not_a_Robot | |
Old Version | Published before Godot 3 was released. |
Hello everyone!
I made a json (since this is the format I found that works with Godot) like this one:
{
"people" : [
{"experts" : [
{"id" : 1, "groupId" : 1, "name" : "Json Carter", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} },
{"id" : 2, "groupId" : 2, "name" : "Jack Malorne", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} },
{"id" : 3, "groupId" : 3, "name" : "Igor the one", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} },
{"id" : 4, "groupId" : 4, "name" : "Anastasia Gold", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} },
{"id" : 5, "groupId" : 5, "name" : "Jessy James", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} },
{"id" : 6, "groupId" : 6, "name" : "James Jessy", "websites" : {"corporation": "godotengine.org", "other": "gitlab.com"} }
]}
]
}
How can I get the length (for example) of the experts array when loaded in a dictionary?
To be able to do loops to get all data the way I prefer.
Thank you in advance.