title: How to modify JSON-LD in the header after page load, asynchronously
body: <p>At the beginning of page load I added JSON-LD data to the header:</p>
  
  <pre><code>&lt;head&gt;
    ...
    &lt;script type="application/ld+json"&gt;
      {
        "@context":"http://schema.org",
        ...
      }
    &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>Later I get some extra asynchronous data that I want to add as well, since <a href="https://centrical.com/test/google-json-ld-and-javascript-crawling-and-indexing-test.html" rel="nofollow noreferrer">Google is able to crawl it</a>. </p>
  
  <p>Wondering how may I change the existing JSON-LD data in header?</p>