<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>aiohttp</anon>
  </categories>
  <description>Pythonの json.dumps は変換できない型があります。 qiita.com ↑の記事のように進めたらできるのですが、フレームワークに組まれている変換関数はどうやったら設定できるの？というのが今回の話。 早速コードを確認してみると、なるほど、関数自体をわたしているのね。どうやって引数を渡しましょうか。 https://github.com/aio-libs/aiohttp/blob/65de218c6297284663eeae5c07e9146ef1e4485e/aiohttp/web_response.py#L735 悩んでいたけど、defaultで設定した関数をそのまま渡しちゃえ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2022%2F03%2F29%2F095658&quot; title=&quot;aiohttpのweb.json_responseにDecimalとかdatetimeとか変換できるようにしたい - ITの隊長のブログ&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>2022-03-29 09:56:58</published>
  <title>aiohttpのweb.json_responseにDecimalとかdatetimeとか変換できるようにしたい</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2022/03/29/095658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
