Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Data Element using JSON

mubarakd5726232
Level 5
Level 5

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>

0 Replies