automerge-swift-archived
automerge-swift-archived copied to clipboard
representing dictionary/map
Is Map something that can be exposed to the library user?
I'm looking to store in a Document something along the lines:
{
'CardID_X': {
'results' : [
{
'timestamp': timestamp in seconds from...
'result': 0 // float - 0 - failed, 1 - passed
}
]
}
'CardID_Y': {
}
'CardID_Z': {
}
}
...so that Document optimised for retrieval and update of results for a specific key (specific value of CardID in the example above).