Data Element using JSON

Avatar

Avatar

mubarakd5726232

Avatar

mubarakd5726232

mubarakd5726232

11-03-2019

How do you define/populate a data element using JSON defined on page?

eg retrieve name

  <!-- JSON-LD Markup -->

  <script type="application/ld+json">

{

"@context": "http://schema.org",

"@type": "LocalBusiness",

"telephone": "00000000",

"address": {

"@type": "PostalAddress",

"addressRegion": "Worcestershire",

"addressCountry": "gb"

},

  "name": "foo"

 

}

  </script>

Accepted Solutions (0)

Answers (0)