'TreeView to Json Converter using c#

I have a project (winform using C#) where I need to import a JSON and display it to TreeView. A new node can be added , updated or removed . After any of these operation I need to convert Modified Tree view to new JSON and save it in file. All of these thing I have done except converting modified TreeView to JSON. here challenge is JSON is dynamic does not have fixed format. Any idea on this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source