title: In System.Text.Json is it possible to specify custom indentation rules?
body: <p><strong>Edit: I made an issue at the <a href="https://github.com/dotnet/runtime/issues/40731" rel="noreferrer">.Net runtime repo</a> yesterday which was closed to by &quot;layomia&quot; with this message: &quot;Adding extension points like this comes with a performance cost at the lower-level reader and writer and does not present a good balance between perf and functionality/benefit. Providing such configuration is not on the System.Text.Json roadmap.&quot;</strong></p>
  <p>When setting JsonSerializerOptions.WriteIndented = true indentation looks like this when writing json...</p>
  <pre><code>{
    &quot;TILESET&quot;: &quot;tilesets/HOW_TO_GET_TILESET_NAME_?&quot;,
    &quot;TILES&quot;: {
      &quot;TILE_1&quot;: {
        &quot;NAME&quot;: &quot;auto_tile_18&quot;,
        &quot;TEXTURE_BOUNDS&quot;: [
          304,
          16,
          16,
          16
        ],
        &quot;SCREEN_BOUNDS&quot;: [
          485,
          159,
          64,
          64
        ]
      }
    }
  }
  </code></pre>
  <p>Is there a way to change the automatic indentation to something like this...</p>
  <pre><code>{
    &quot;TILESET&quot;: &quot;tilesets/HOW_TO_GET_TILESET_NAME_?&quot;,
    &quot;TILES&quot;: 
    {
      &quot;TILE_1&quot;: 
      {
        &quot;NAME&quot;: &quot;auto_tile_18&quot;,
        &quot;TEXTURE_BOUNDS&quot;: [304, 16, 16,16],
        &quot;SCREEN_BOUNDS&quot;: [485, 159, 64, 64]
      }
    }
  }
  </code></pre>