<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swfz</author_name>
  <author_url>https://blog.hatena.ne.jp/swfz/</author_url>
  <blog_title>notebook</blog_title>
  <blog_url>https://swfz.hatenablog.com/</blog_url>
  <categories>
    <anon>command</anon>
    <anon>jq</anon>
  </categories>
  <description>ちょっとした集計などで使うデータの形式はjsonが多いが、たまにツール側の事情でCSVが欲しくなるときもある 具体的に言うと、データポータルにアップロードして単発で使いたい場合はCSVしかサポートされていないのでCSVが必要だったりする さくっと変換できると何かと楽なのでメモとして残しておく 例として次のようなよくありそうなフォーマットで行ってみる members.json [ { &quot;name&quot;: &quot;hoge&quot;, &quot;post&quot;: &quot;manager&quot;, &quot;month&quot;: &quot;2022-01-01&quot; }, { &quot;name&quot;: &quot;hoge&quot;, &quot;post&quot;: &quot;manager&quot;, &quot;month&quot;: &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fswfz.hatenablog.com%2Fentry%2F2022%2F01%2F28%2F025834&quot; title=&quot;jqでjsonからCSVを生成する - notebook&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-01-28 02:58:34</published>
  <title>jqでjsonからCSVを生成する</title>
  <type>rich</type>
  <url>https://swfz.hatenablog.com/entry/2022/01/28/025834</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
