<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akira6592</author_name>
  <author_url>https://blog.hatena.ne.jp/akira6592/</author_url>
  <blog_title>てくなべ</blog_title>
  <blog_url>https://tekunabe.hatenablog.jp/</blog_url>
  <categories>
    <anon>ansible</anon>
  </categories>
  <description>はじめに Ansible には、いい感じのフォーマットの JSON に変換するためのansible.builtin.to_nice_json フィルターがあります。 tekunabe.hatenablog.jp 日本語（おそらく非ASCII）が含まれているとデフォルトでは以下のように Unicode エスケープされます。 例 { &quot;name&quot;: &quot;\u51fa\u753a\u67f3&quot; } ファイル出力時に不都合だったりするでエスケープされない方法を調べたら、このフィルターに ensure_ascii オプションがあって、これを無効にすると良いことが分かりました。 簡単ですが、試した結果をまと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2026%2F02%2F26%2Fansible_to_nice_json_ensure_ascii_false&quot; title=&quot; [Ansible] to_json や to_nice_json フィルターで日本語が Unicode エスケープされないようにする - てくなべ&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>2026-02-26 10:05:33</published>
  <title> [Ansible] to_json や to_nice_json フィルターで日本語が Unicode エスケープされないようにする</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2026/02/26/ansible_to_nice_json_ensure_ascii_false</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
