<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aetos382</author_name>
  <author_url>https://blog.hatena.ne.jp/aetos382/</author_url>
  <blog_title>鷲ノ巣</blog_title>
  <blog_url>https://tech.blog.aerie.jp/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>本記事は C# Advent Calendar 2025 シリーズ2の14日目の記事です。 qiita.com 目的 例えば、JsonSerializer でシリアライズする際に、特定の型のメンバーだけをシリアライズから除外したい場合はどうすればいいでしょうか。たとえばこんなクラスがあって、Data をシリアライズするけれども、その中の NonSerializable は除外したいというような場合です。 public sealed record NonSerializable(int Value); public sealed record Data(int X, NonSerializabl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.blog.aerie.jp%2Fentry%2F2025%2F12%2F15%2F001901&quot; title=&quot;JsonSerializer のシリアライズ処理を一元的にカスタマイズする - 鷲ノ巣&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-15 00:19:01</published>
  <title>JsonSerializer のシリアライズ処理を一元的にカスタマイズする</title>
  <type>rich</type>
  <url>https://tech.blog.aerie.jp/entry/2025/12/15/001901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
