From various posts, I have guessed at the JSON format required to load an array.
Its for looking up the "th" string, e.g.
"1" & array.at(1)
should result in "1st" etc.
I tried loading it with this string:
"{
""c2array"": true,
""size"": [75,0,0],
""data"":[1:""st"",2:""nd"",3:""rd"",4:""th""]
}"
I also tried this:
"{
""c2array"": true,
""size"": [75,1,1],
""data"":[[[1:""st"",2:""nd"",3:""rd"",4:""th""]]]
}"
and this:
"{
""c2array"": true,
""size"": [75,1,1],
""data"":[[[""na"",""st"",""nd"",""rd"",""th""]]]
}"
and a million other formats.
The ones which dont throw a runtime error, all print "10", i.e. they get back zero from the array.
Anyone know the required JSON format to load an array (or dictionary).
Thanks!