Export all Xaml Items as JSON


Instruction

To export all XAML items as a JSON file, follow these steps:

  1. Open XamlFiddle as described in the previous sections.
  2. Click the menu Manage > All Xaml items to open the Xaml Items Manager:
    Choose menu Xaml Items Manager

  3. You will see the Xaml Items Manager dialog like this:
    Xaml Items Manager Dialog

  4. In this case, we have three XAML items displayed in the data grid for export:
    All XAML Items

  5. Close the dialog and then click the menu File > Export > Export all XAML Items as JSON:
    Export all XAML Items as JSON

  6. A dialog will appear asking you to browse for the folder to export to:
    Browse Folder Dialog

  7. In this case, choose Desktop as the location for export and then click OK:
    Desktop Location

  8. Finally, you will see the exported .json file in the chosen location, like this:
    The Exported JSON File


In case the exported .json file already exists in the target location, XamlFiddle will ensure that the JSON file name is unique. As shown in the screenshot, the XamlFiddleItems.json file already existed, so XamlFiddle exported the XamlFiddleItems(2).json file instead.


NOTE: This exported JSON file can be used for import later when needed.