JSON to JSON-LD
1 answer
In most cases, the only thing you need to do is create a JSON-LD context and add it to your JSON documents. You can paste it directly or put it in another file and just link to it. Depending on the structure of your JSON documents and the dictionary you are using, you may need to modify the JSON slightly. This usually involves adding url-like IDs to your JSON ( @id
) objects and restructuring them according to how the dictionary is modeled.
If you are looking for tools I would suggest looking at https://github.com/antoniogarrote/json-ld-macros
Hope this helps. As others have pointed out, the more information you provide, the better answers you will get.
+3
source to share