Observable map to JSON RRS feed

  • Question

  • 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.
    Monday, June 2, 2014 8:12 PM


  • 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.


    Tuesday, June 3, 2014 1:40 AM