<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>Ⅰ. はじめに タイトルの通り「C++でJSONを扱う方法」です。ライブラリは cereal を利用します。 cereal は JSON 出力だけでなく、XMLやバイナリ出力にも対応しています。 Ⅱ. やり方 1. vcpkg で cereal をインストールする vcpkg install cereal 2. サンプルプログラムを書く #include &lt;iostream&gt; #include &lt;fstream&gt; #include &lt;map&gt; #include &lt;cereal/types/map.hpp&gt; #include &lt;cereal/types/string.hpp&gt; #include …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2019%2F11%2F19%2F130749&quot; title=&quot;C++で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>2019-11-19 13:07:49</published>
  <title>C++でJSONを扱う方法</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2019/11/19/130749</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
