4 ms·
RDF has no adoption. JSON is the winner. Let's try to understand why: Because JSON.parse() is instantly available on the client. On the contrary, RDF.parse() (
by lolive 11y ago
RDF has no adoption. JSON is the winner.
Let's try to understand why:
Because JSON.parse() is instantly available on the client.
On the contrary, RDF.parse() (or more precisely N3.parse()) is available on the client only if you use that obscure library I mentionned above.
Noone knows the library, so noone uses the N3.parse().
Ok. End of discussion.
Now my own feeling:
RDF (and especially its N3 dialect) is the only description language I know of that serializes and deserializes graphs with no specific code, and has a good JS lib for client-side consumption.
JSON (or XML, or any other tree descrption language) requires extra effort whenever you use it to serialize/deserialize/traverse a graph structure.
That is why i think they suck.
And that's why I prefer RDF/N3.