OK, I just copied over Andy's code.. which setting should there be? Just
drop all of those additional settings beyond base?


On Wed, Oct 2, 2013 at 12:00 AM, Peter Ansell <notifications@github.com>wrote:

> In
> integration/jena/src/main/java/com/github/jsonldjava/jena/JsonLDWriter.java:
>
> > +        IO.flush(w);
> > +    }
> > +
> > +    private void serialize(Writer writer, DatasetGraph dataset,
> > +            PrefixMap prefixMap, String baseURI) {
> > +        final Map<String, Object> ctx = new LinkedHashMap<String, Object>();
> > +        addProperties(ctx, dataset.getDefaultGraph());
> > +        addPrefixes(ctx, prefixMap);
> > +
> > +        try {
> > +            Object obj = JSONLD.fromRDF(dataset, new JenaRDF2JSONLD());
> > +            Options opts = new Options(baseURI);
> > +            opts.graph = false;
> > +            opts.addBlankNodeIDs = false;
> > +            opts.useRdfType = true;
> > +            opts.useNativeTypes = true;
>
> The Candidate Recommendation Specification recommends against using this
> setting by default for RDF consumers of JSON-LD data.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jsonld-java/jsonld-java/pull/71/files#r6702593>
> .
>



-- 
Stian Soiland-Reyes
Manchester, UK
http://soiland-reyes.com/