dataset icon indicating copy to clipboard operation
dataset copied to clipboard

JSON documents of arrays

Open rsdoiel opened this issue 1 year ago • 0 comments

Originally dataset sought to store JSON objects in collections. JSON can also represent arrays, [ "one", "two", "three" ]. Since dataset v2 no longer modifies the object being stored it should be possible for those documents representing JSON arrays and not be limited to objects. This would allow us to store objects like pick/universe "select lists" of keys along in the collection perhaps by using a convention around key formation (e.g. _select could be an active select, _my_saved_keys could be an explicit saved list of keys). This could be helpful in some data processing scenarios and void having to embed the array inside a wrapping object.

rsdoiel avatar Feb 13 '23 19:02 rsdoiel