Skip to content

Commit

Permalink
Merge pull request #42 from lanthaler/json-ld-is-w3c-standard
Browse files Browse the repository at this point in the history
JSON-LD is a W3C standard: Update the text and the link to the spec
  • Loading branch information
jaytaph committed Feb 1, 2014
2 parents bcc33aa + 2d21f7e commit 70d23c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _posts/2012-12-17-json.html
Expand Up @@ -39,20 +39,20 @@
{% endhighlight %} {% endhighlight %}




<p>Although JSON isn't hypermedia, some standardisation is on its way to make JSON hypermedia. Two of these, JSON-LD and HAL, <p>Although JSON does't have inherent hypermedia support, some standardisation is on its way to change that. JSON-LD, which is already an official W3C standard,
formalizes these links so any client can instantly follow and discover these links, without any additional knowledge on how this and HAL, which is a personal project, formalize the expression of links in JSON so that clients can instantly follow and discover these links without having
has been setup. to rely on out-of-band additional knowledge.</p>


<h3>See also</h3> <h3>See also</h3>
<ul> <ul>
<li><a href="http://stateless.co/hal_specification.html">HAL specification</a> <li><a href="http://stateless.co/hal_specification.html">HAL specification</a>
<li><a href="http://json-ld.org/">JSON-LD specification</a> <li><a href="http://www.w3.org/TR/json-ld/">JSON-LD specification</a>
</ul> </ul>


<h3>Caveats</h3> <h3>Caveats</h3>
<ul> <ul>
<li>Because there is no standardized way, JSON for APIs can and most probably will result in tight coupling between <li>Because JSON by itself has no hypermedia support, using JSON for APIs can and most probably will result in tight coupling between
clients and servers. Servers need to know exactly how you provide links in JSON (if at all). Using HAL or JSON-LD can clients and servers. Servers need to know exactly how you provide links in JSON (if at all). JSON-LD, a W3C Recommendation, or HAL can
reduce this coupling and allow you to formally present (hypermedia) links in your API. reduce this coupling and allow you to formally present (hypermedia) links in your API.
</li> </li>
</ul> </ul>

0 comments on commit 70d23c8

Please sign in to comment.