"JSON-LD"의 두 판 사이의 차이

(새 문서: ==개요== ;JSON-LD (JSON for Linking Data) <syntaxhighlight lang='json'> { "@context": "https://json-ld.org/contexts/person.jsonld", "@id": "http://dbpedia.org/resource/John_Len...)
 
 
1번째 줄: 1번째 줄:
==개요==
==개요==
;JSON-LD (JSON for Linking Data)
;JSON-LD (JSON for Linking Data)
* JSON을 사용하여 링크드 데이터를 인코딩하는 방식


<syntaxhighlight lang='json'>
<syntaxhighlight lang='json'>
40번째 줄: 41번째 줄:


[[분류: JSON]]
[[분류: JSON]]
[[분류: 마크업 언어]]

2021년 4월 23일 (금) 01:44 기준 최신판

1 개요[ | ]

JSON-LD (JSON for Linking Data)
  • JSON을 사용하여 링크드 데이터를 인코딩하는 방식
{
  "@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"
}
{
  "@context": {
    "name": "http://xmlns.com/foaf/0.1/name",
    "homepage": {
      "@id": "http://xmlns.com/foaf/0.1/workplaceHomepage",
      "@type": "@id"
    },
    "Person": "http://xmlns.com/foaf/0.1/Person"
  },
  "@id": "https://me.example.com",
  "@type": "Person",
  "name": "John Smith",
  "homepage": "https://www.example.com/"
}

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}