JSON data files have some odd list format #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The JSON data seems to emulate lists with dictionaries. It's not clear why we did it that way. Some of the data files actually use keys but others just have strings keys that are numbers
"1" .. "n", perhaps it was just done this way to keep them all the same format.For the uniques I have since figured out the reason. Unique items are indexed by their unique id, which is a sparse set of integers. Since json can only index in objects by strings this format makes sense. Haven't verified the others, but I assume the reason is similar.