JSON

How to Format (Pretty-Print) JSON in C#

Pretty-print, re-indent or minify JSON in C# with System.Text.Json, including custom indentation and readable non-ASCII output.

2 min read