Hi All,

Can anyone help me understand how I can use an expanded JSON-LD structured 
document in Angular UI?
The objective is to map expanded JSON-LD document data to UI.

*JSON-LD document : *
{
  "@context": "https://json-ld.org/contexts/person.jsonld";,
  "@id": "http://dbpedia.org/resource/John_Lennon";,
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon";
}

*Expanded JSON-LD document : *
[
  {
    "@id": "http://dbpedia.org/resource/John_Lennon";,
    "http://schema.org/birthDate": [
      {
        "@type": "http://www.w3.org/2001/XMLSchema#date";,
        "@value": "1940-10-09"
      }
    ],
    "http://xmlns.com/foaf/0.1/name": [
      {
        "@value": "John Lennon"
      }
    ],
    "http://schema.org/spouse": [
      {
        "@id": "http://dbpedia.org/resource/Cynthia_Lennon";
      }
    ]
  }
]

https://json-ld.org/

Any help is appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/43fa416e-6aa1-4d2a-8a85-b962a6ce99ceo%40googlegroups.com.

Reply via email to