title: How to parse the json url in C ++ and get the title from the source code?
body: <ol>
  <li>I need to parse json url and the data has a url binding so I need to change &quot;en-us&quot; to &quot;ja-jp&quot; update the value</li>
  <li>there are two types of url in json data
  I want to change the &quot;articleurl&quot; &quot;en-us&quot; to &quot;ja-jp&quot;
  example:
  <a href="http://support.example.com/kb/3159398" rel="nofollow noreferrer">http://support.example.com/kb/3159398</a> → URL is not changed. Getting Japanese title.
  <a href="https://support.example.com/en-us/help/40113" rel="nofollow noreferrer">https://support.example.com/en-us/help/40113</a> → en-US changes to ja-JP. Get title.</li>
  <li>after update and change i need to add that url title page in my json (title must be in japanese language)
  &quot;urltitle&quot; : 'https://support.example.com/ja-jp/help/40113'</li>
  <li>the final output will be saved in json format</li>
  </ol>
  <p>json url sample data:</p>
  <pre><code>value = [
      {
        &quot;kbArticles&quot;: [
          {
            &quot;articleName&quot;: &quot;Release Notes&quot;,
            &quot;articleUrl&quot;: &quot;https://docs.example.com/en-us/Edge/security&quot;,
          }
        ],
        &quot;baseScore&quot;: &quot;&quot;,
        &quot;temporalScore&quot;: &quot;&quot;,
      },
      {
        &quot;kbArticles&quot;: [
          {
            &quot;articleName&quot;: &quot;5006670&quot;,
            &quot;articleUrl&quot;: &quot;https://support.example.com/help/5006670&quot;,
          }
        ],
        &quot;baseScore&quot;: &quot;5.5&quot;,
        &quot;temporalScore&quot;: &quot;4.8&quot;,
      }
     ]
  </code></pre>
  <p>Code:</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cpprest/http_client.h&gt;
  using namespace web::http;             
  using namespace web::http::client;    
  int main(int argc, char** argv) {
      http_client client(&quot;http://api.example.com/&quot;);
      http_response response;
      response = client.request(methods::GET, &quot;/get&quot;).get();
      std::cout &lt;&lt; response.extract_string().get() &lt;&lt; &quot;\n&quot;;
      response = client.request(methods::GET, &quot;/get&quot;).get();
      std::cout &lt;&lt; &quot;url: &quot; &lt;&lt; response.extract_json().get()[U(&quot;url&quot;)] &lt;&lt; &quot;\n&quot;;
  } 
  </code></pre>