jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1596897 - /jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java
Date Thu, 22 May 2014 15:04:36 GMT
Author: andy
Date: Thu May 22 15:04:36 2014
New Revision: 1596897

URL: http://svn.apache.org/r1596897
Log:
Use @type in pref to rdf:type

Modified:
    jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java

Modified: jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java?rev=1596897&r1=1596896&r2=1596897&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/out/JsonLDWriter.java Thu May 22
15:04:36 2014
@@ -86,7 +86,7 @@ public class JsonLDWriter extends Writer
         try {
             JsonLdOptions opts = new JsonLdOptions(baseURI);
             opts.useNamespaces = true ;
-            opts.setUseRdfType(true);
+            //opts.setUseRdfType(true);
             opts.setUseNativeTypes(true);
             opts.setCompactArrays(true);
             Object obj = JsonLdProcessor.fromRDF(dataset, opts, new JenaRDF2JSONLD()) ;



Mime
View raw message