{"id":19101304,"url":"https://github.com/OmarElabd/ObjectExporter","last_synced_at":"2025-04-18T18:32:19.008Z","repository":{"id":28424666,"uuid":"31939414","full_name":"OmarElabd/ObjectExporter","owner":"OmarElabd","description":"Object Exporter lets you export out an object while debugging in Visual Studio, the object can be serialized in either C#, JSON or XML.","archived":false,"fork":false,"pushed_at":"2019-10-05T14:40:33.000Z","size":77146,"stargazers_count":260,"open_issues_count":58,"forks_count":85,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-03-16T15:54:59.850Z","etag":null,"topics":["debugging","dumper","exporter","regression-testing","testing-tools","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmarElabd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T05:04:47.000Z","updated_at":"2024-03-04T12:42:54.000Z","dependencies_parsed_at":"2022-09-03T05:21:22.370Z","dependency_job_id":null,"html_url":"https://github.com/OmarElabd/ObjectExporter","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarElabd%2FObjectExporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarElabd%2FObjectExporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarElabd%2FObjectExporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarElabd%2FObjectExporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmarElabd","download_url":"https://codeload.github.com/OmarElabd/ObjectExporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783095,"owners_count":17201906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging","dumper","exporter","regression-testing","testing-tools","visual-studio"],"created_at":"2024-11-09T03:53:14.643Z","updated_at":"2025-04-18T18:32:19.000Z","avatar_url":"https://github.com/OmarElabd.png","language":"C#","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Object Exporter\n[![Join the chat at https://gitter.im/OmarElabd/ObjectExporter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/OmarElabd/ObjectExporter?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build status](https://ci.appveyor.com/api/projects/status/fouwuwpqluy5qo5i?svg=true)](https://ci.appveyor.com/project/OmarElabd/objectexporter)\n\nObject Exporter lets you export out an object while debugging in Visual Studio. Currently supported output formats are: C# Object Initialization Code, JSON and XML.\n\n# Release Notes\n[1.7.0] (https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Release%20Notes.txt)\n\n# Use Cases\n1. Persisting an object state for debugging comparisons.\n\n2. Searching for information within objects.\n\n3. Generating C# object initialization code for unit testing.\n\n# Output\nThe currently supported output formats are: C# Object Initialization Code, JSON and XML.\n\n# Instructions\n\nObject Exporter is accessed through the tools menu and is only visible when you are debugging and stopped at a breakpoint.\n\n![Select from tool menu](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Tools%20Menu.png)\n\n\nOnce the menu option is selected a dialog is shown with settings for the Object Export.\n\nObject exporter has two modes for selecting objects to export, one is by selecting from a checklist which is populated with your locals.\n\n![Select locals](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Select%20From%20Locals%201.png)\n\nThe other mode is by writing a custom expression as you would in the watch window.\n\n![Custom Expression](https://github.com/OmarElabd/ObjectExporter/blob/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Custom%20Expressions.png)\n\nOnce an object is written or selected, object exporter will attempt to calculate it's depth in the background. This depth will give you an indication of what cutoff would need to be specified to export the entire object. Note some objects may contain circular references.\n\n![Select Locals with calculated depth](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Select%20From%20Locals%202.png)\n\nOnce your objects and settings are selected, you may export them in your desired format. A dialog will be displayed with the generated ouput for each of your objects.\n\nC#:\n\n![Generated C#](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Generated%20CSharp.png)\n\nJSON:\n\n![Generated JSON](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Generated%20JSON.png)\n\nXML:\n\n![Generated XML](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Generated%20XML.png)\n\n# Settings\n\nObject exporter settings is access through Tools -\u003e Options -\u003e Object Exporter\n\n![Settings](https://raw.githubusercontent.com/OmarElabd/ObjectExporter/master/ObjectExporter.VsPackage/Documentation/Object%20Exporter%20-%20Options.png)\n\n# Powered By\n\nObject Exporter is powered by [RayGun](https://raygun.io/).\n\n![Raygun](https://brandfolder.com/raygun/assets/14l8cwle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmarElabd%2FObjectExporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOmarElabd%2FObjectExporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmarElabd%2FObjectExporter/lists"}