JsonLD
JsonLD copied to clipboard
JSON-LD processor for PHP
Hi Markus, Just found a very curious behaviour. I'm using `JsonLD:toRDF` to expand a JSON-LD file, but any field `"0"` seems to be ignored. Document: ``` { "@context": { "@vocab":...
Hi I notice it's extremely slow with JsonLD::frame, sometimes 45/50 sec whereas it's instantly on https://json-ld.org/playground/ with exactly same input and frame. Can you give me some directions ? I...
Currently `file_get_contents` is used to retrieve remote contexts and documents. This isn't really flexible and should sooner or later be replaced with a more sophisticated library. Keep an eye on...
If the @id of a schema and the value of another field (say, url) are identical, parsing the document will result in a stack overflow. It looks like this is...
Currently, [a lot of tests fail](https://travis-ci.org/lanthaler/JsonLD/jobs/16576045). Investigate the reason and fix it or file a bug for [HHVM](https://github.com/facebook/hhvm).
Is there any option to specify that when using a frame I always want an arrays of objects, even when only zero or one objects are returned?
Is there an option to apply a context to properties only, but not to URIs? For example would become PREFIX ex: ex:friend
How can I take a framed JSON-LD document and apply a list of all known prefixes (taken from a list) to the document, such that all URLs are converted to...
Hi Markus, When a string in the JSON-LD document contains escaped double-quotes, like in `"Here is a \"string\n"`, then the double quotes are no longer escaped in the NQuads serialization....
I'm using this with EasyRdf (@njh) and if I try to parse JSON-LD which contains unicode characters, it just halts, and I haven't managed to make it give me any...