dschulten / hydra-java

Annotate your Java beans and serialize them as json-ld with hydra
Apache License 2.0
107 stars 27 forks source link

Support terms with object values in context #16

Open dschulten opened 9 years ago

dschulten commented 9 years ago

such as

@context: { ... hydra:property: { @type: @vocab } }

nibe commented 8 years ago

Would this allow for something like

{
   "@context":
   {
      "image": {
         "@id": "http://schema.org/image",
         "@type": "@id"
      }
   },
   "image": "http://manu.sporny.org/images/manu.png"
}

or is that already possible?

Thanks for your work.