4 ms·
A native set type would be nice too, and the syntax for it is obvious— comma separated values like a list, but enclosed in braces like a dict.
by mikepurvis 4y ago
A native set type would be nice too, and the syntax for it is obvious— comma separated values like a list, but enclosed in braces like a dict.
- aaaaaaaaaaab 4y agoA set is just a list with a uniqueness constraint. JSON already has a list type.