Skip to content

veyndan/json-ld.org

This branch is 4 commits ahead of, 12 commits behind json-ld/json-ld.org:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

199d831 · Aug 6, 2023
Jun 1, 2020
Jul 21, 2023
Jan 27, 2018
Jul 9, 2011
Aug 6, 2023
Apr 5, 2013
Aug 6, 2023
Sep 10, 2022
Jun 6, 2022
Jun 6, 2022
Jun 1, 2022
Jan 27, 2018
Aug 6, 2023
Sep 16, 2014
Feb 18, 2021
Oct 31, 2017
Jan 26, 2018
Feb 25, 2019
Jan 20, 2017
Jan 9, 2018
Jun 2, 2020
May 2, 2013
Feb 26, 2013
Aug 6, 2023
Aug 6, 2023
Mar 27, 2013

Repository files navigation

Introduction

Join the chat at https://gitter.im/json-ld/json-ld.org

JSON-LD (JavaScript Object Notation for Linking Data) is a lightweight Linked Data format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on the already successful JSON format and provides a way to help JSON data interoperate at Web-scale. If you are already familiar with JSON, writing JSON-LD is very easy. There is a smooth migration path from the JSON you use today, to the JSON-LD you will use in the future. These properties make JSON-LD an ideal Linked Data interchange language for JavaScript environments, Web services, and unstructured databases such as CouchDB and MongoDB.

If you are already using JSON-LD, add yourself to the list of users in our wiki.

A Simple Example

A simple example of a JSON object with added semantics:

{
  "@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"
}

The example above describes a person whose name is John Lennon. The difference between regular JSON and JSON-LD is that the JSON-LD object above uniquely identifies itself on the Web and can be used, without introducing ambiguity, across every Web site, Web services and databases in operation today.

The Playground

If you would like to play around with JSON-LD markup, you may do so here:

https://json-ld.org/playground/

The Specifications

If you are a developer, you may be interested in the official JSON-LD W3C specifications:

A list of all previous specification drafts is also available.

https://json-ld.org/spec/

About

JSON for Linked Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 76.3%
  • JavaScript 23.3%
  • CSS 0.2%
  • PHP 0.1%
  • Haml 0.1%
  • Perl 0.0%