---
title: "Discussion on \"C#'s JsonSerializer memory issues when serializing large string and byte array values\" | Hashnode"
description: "Discussion on \"C#'s JsonSerializer memory issues when serializing large string and byte array values\". JsonSerializer is the \"de-facto\" JSON serializer (and deserializer) in modern C# and .NET. It is known for its performance compared to alternatives like Newtonsoft.JSON. However, at the time of this writing, it has a known issue when serializing larg..."
url: "https://hashnode.com/posts/cs-jsonserializer-memory-issues-when-serializing-large-string-and-byte-array-values/65c53e43c1a0f1d1ba31b6d1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C#'s JsonSerializer memory issues when serializing large string and byte array values](https://blog.habbes.xyz/cs-jsonserializer-memory-issues-when-serializing-large-string-and-byte-array-values?utm_source=hashnode&utm_medium=feed)

JsonSerializer is the "de-facto" JSON serializer (and deserializer) in modern C# and .NET. It is known for its performance compared to alternatives like Newtonsoft.JSON. However, at the time of this writing, it has a known issue when serializing larg...

Feb 8, 2024 · 6 min read · blog.habbes.xyz  
Read the article

-   [#performance](https://hashnode.com/tag/performance)
-   [#net](https://hashnode.com/tag/net)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#json](https://hashnode.com/tag/json)
-   [#serialization](https://hashnode.com/tag/serialization)

## Written by

[Clément Habinshuti](https://hashnode.com/@habbes)

@habbes

  
[View profile](https://hashnode.com/@habbes)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
