-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can json-api be compared to json-ld? #98
Comments
It's going to be covered in the FAQ: #1 |
Ah, thanks! :) |
Yup. |
Just a heads up: JSON-LD IS A W3C RECOMMENDATION |
I was just looking both at #1 and at FAQ and I did not see any further discussion on the comparison between JSON-LD and json-api. |
Maybe this needs reopened? I still don't see any mention of json-ld in the faq. If on the other hand json-api doesn't want to compare itself to any linked data or semantic web technologies in general because the goals are so different, maybe a blanket statement regarding that should be in the faq. |
@passy ? @steveklabnik ? |
I'll take this as a "the goals are too different to even compare". |
Hi @almibe and @jokeyrhyme. Sorry this thread hasn't had much activity; I think people have just been busy. Anyway, here's my personal take on this, which may not represent the views of the other editors:
So, basically, JSON API says "for convenience and encouraging good design, let's standardize the best practice version of what we're doing now", whereas JSON LD says "let's use a new data model, with shared vocabularies, and new tools to get some new semantic-webby benefits". JSON API isn't actually opposed to any of JSON LD's ideas—in fact, JSON API will support extensions that allow the two to interoperate—but I/we just think that the JSON LD worldview should be opt-in, and that developers should be able to get simple conveniences today without having to change as much of their thinking as JSON LD demands. |
@ethanresnick thanks, this makes sense. |
Thanks for the response from what I know about JSON-LD I'd agree with that. I was curious how well the two could work together and the possibility of them benefiting each other sounds like it's worth experimenting with. |
From the playing around that I've done, they integrate quite well. For example, it's pretty easy to properly annotate a typical JSON API response with JSON LD. Occasionally, some duplicate JSON LD I'd definitely encourage you to experiment further, though, and to share your findings on the JSON API forum (http://discuss.jsonapi.org). I'm curious to hear about any integration problems you run into or any cool things that you're able to do by combining the two formats. |
Could this issue be reopened until there is an official response in the FAQ? Or are github issue responses the new FAQ ;) |
definitely still valid today. |
Sounds like we're gradually turning JSON into XML. |
I've just found out about json-ld and was wondering if it's goal's are similar to the ones of json-api and/or if there are fundamental differences between them?
The text was updated successfully, but these errors were encountered: