A JSONLiteral data type

Dear all,

As I was reviewing the Solid-OIDC draft [1] by the Solid CG the other day, 
it occurred to me that we could use a JSONLiteral data type, analogous to 
the XMLLiteral we already have.

In there, they suggest to have a JSON string as a literal, because JSON is 
what every consumer of that data would expect. So, you could obviously 
argue for using RDF all the way, including JSON-LD, but I think there is 
some merit to this solution, if it is adopted after review. Also, it seems 
very similar to the reasons why XMLLiteral was adopted back in the day.

So, what you think, is there room for an rdf:JSONLiteral in RDF?


[1] https://solid.github.io/authentication-panel/solid-oidc/#clientids-webid

Cheers,

Kjetil

Received on Tuesday, 13 April 2021 21:54:28 UTC