Small, fast object dumpers for .NET. Convert objects, collections, tuples, DataTables and more to rich formatted output in your terminal or as portable HTML.
Supports: netstandard2.1, net6.0 and later
- Dumpy.Console — Dump to rich, formatted console output.
- Dumpy.Html — Dump to compact, structured HTML and visualize data for user reports, logging artifacts, or sharing in docs and bug reports.
dotnet add package Dumpy.Console
using Dumpy.Console;
var person = new { Name = "Ada", Age = 37 };
person.Dump("Person");dotnet add package Dumpy.Html
using Dumpy.Html;
var person = new { Name = "Ada", Age = 37 };
string html = person.Dump();
System.IO.File.WriteAllText("person.html", html);You can dump almost any .NET object or value, including:
- Primitives, anonymous types, POCOs
- Enumerables and collections (including multidimensional arrays)
- Tuples and ValueTuples
- DataTable and DataSet
- JsonDocuments and JsonElements
- XmlNodes and XNodes