Indented Pretty Print Formatting for JSON in ASP.NET Core

added by DotNetKicks
10/30/2019 3:32:55 PM

211 Views

The Problem - Readability By default, JSON in ASP.NET Core will not be formatted at all. By that I mean, the JSON is returned without any spacing or formatting, and in the cheapest way possible (from a "bytes-sent-over-the-wire" perspective). Example: This is usually what you want when in Production in order to decrease network...


0 comments