Hi! Is there easy way to serialize observable map to JSON file? I have my data in JSON file, in OnNavigatedTo event JSON is parsed and observable map is created. I want to update (rewrite), my JSON file every time, when new item is added to obserable
map. Thanks in advance, for any advice, alternative solutions are also pleased.
I don't believe there's a canned helper function for this. You'll need to listen to MapChanged and then iterate through the key/value pairs to serialize them.