json-ld 0.2.0-alpha

A JSON-LD implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
  <head>
    <script type="application/ld+json">
    {
      "@context": {
        "foo": {"@id": "http://example.com/foo", "@container": "@list"}
      },
      "foo": [{"@value": "bar"}]
    }
    </script>
    <script type="application/ld+json">
    [
      {"@context": {"ex": "http://example.com/"}, "ex:foo": {"@value": "foo"}},
      {"@context": {"ex": "http://example.com/"}, "ex:bar": {"@value": "bar"}}
    ]
    </script>
  </head>
</html>