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

@context is repeated on nested objects #1

Closed dschulten closed 10 years ago

dschulten commented 10 years ago

Each nested object gets its own @context even if it is the same as the current context.

Should only use nested context if necessary.

dschulten commented 10 years ago

@context is now only repeated if the nested beans defines terms, and it will not have @vocab if not necessary