Is there a way to save/export (also need to be able to view later) an inspected object structure?

Possibly export to a XML or JSON structure?
Is there a way to save/export (also need to be able to view later) an inspected object structure?

Possibly export to a XML or JSON structure?