<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sfujiwara</author_name>
  <author_url>https://blog.hatena.ne.jp/sfujiwara/</author_url>
  <blog_title>酒日記 はてな支店</blog_title>
  <blog_url>https://sfujiwara.hatenablog.com/</blog_url>
  <categories>
    <anon>JSON</anon>
  </categories>
  <description>Perl の JSON::Syckでデータに改行が含まれるオブジェクトを Dump すると、以下のような出力が得られる。 $ perl -de0 DB&lt;1&gt; use JSON::Syck DB&lt;2&gt; $data = { foo =&gt; &quot;xxx\nyyy&quot; } DB&lt;3&gt; p JSON::Syck::Dump($data) {&quot;foo&quot;:&quot;xxx\n\ yyy&quot;}読みやすくするためか、改行コードを \ でエスケープした形式。 JSON.pm だと改行コードは含まれない。 DB&lt;4&gt; use JSON DB&lt;5&gt; p objToJson($data) {&quot;foo&quot;:&quot;xxx\nyyy&quot;}で、JSO…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsfujiwara.hatenablog.com%2Fentry%2F20060620%2F1150797461&quot; title=&quot;改行を含んだJSON - 酒日記 はてな支店&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>2006-06-20 18:57:41</published>
  <title>改行を含んだJSON</title>
  <type>rich</type>
  <url>https://sfujiwara.hatenablog.com/entry/20060620/1150797461</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
