<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mojeld</author_name>
  <author_url>https://blog.hatena.ne.jp/mojeld/</author_url>
  <blog_title>トルネード</blog_title>
  <blog_url>https://mojelder.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>UWP</anon>
  </categories>
  <description>Visual Studio 2017 UWP C#で、RESTへ接続しJSON取得するコードです。RESTへの接続は、HttpClientクラスを使います。 JSONデータは下記のようなデータです。 {&quot;hoge&quot;:1010,&quot;hoge2&quot;:&quot;鉄人&quot;} JSONの文字コードはUTF8です。UTF8のJSONデータ取得してからUnicodeに変換する関数を作ります。 private async Task&lt;string&gt; UTF8ResponseMessageAsync(HttpResponseMessage result) { byte[] isoBites = Encoding.GetEnco…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmojelder.hatenablog.com%2Fentry%2Fuwp21&quot; title=&quot;UWP 入門 - HttpClientから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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mojeld/20180824/20180824151545.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-24 15:38:15</published>
  <title>UWP 入門 - HttpClientからJSON取得</title>
  <type>rich</type>
  <url>https://mojelder.hatenablog.com/entry/uwp21</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
