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

Avatar

Avatar
Contributor
Level 5
mubarakd5726232
Level 5

Likes

86 likes

Total Posts

89 posts

Correct Reply

3 solutions
Top badges earned
Contributor
Shape 25
Shape 10
Shape 1
Ignite 1
View profile

Avatar
Contributor
Level 5
mubarakd5726232
Level 5

Likes

86 likes

Total Posts

89 posts

Correct Reply

3 solutions
Top badges earned
Contributor
Shape 25
Shape 10
Shape 1
Ignite 1
View profile
mubarakd5726232
Level 5

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)