NET 10 JSON
Read JSON from a pipe
Reading large JSON with PipeReader in .NET 10 System.Text.Json
Ali Hamza Ansari compares the PipeReader overload that .NET 10 adds to System.Text.Json with reading the same large JSON payload from a Stream. He measures execution time, allocated memory and GC collection counts on a file with one million records. The results matter if your high-traffic endpoints deserialize big request bodies.