Output native types in JSON.
--- a/test-suite/tests/fromRdf-0002-out.jsonld Wed Sep 26 11:27:38 2012 -0400
+++ b/test-suite/tests/fromRdf-0002-out.jsonld Wed Sep 26 14:10:07 2012 -0400
@@ -1,10 +1,10 @@
[{
"@id": "http://example.com/Subj1",
"http://example.com/prop": [
- {"@value": "true", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
- {"@value": "false", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
- {"@value": "1", "@type": "http://www.w3.org/2001/XMLSchema#integer"},
+ {"@value": true, "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
+ {"@value": false, "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
+ {"@value": 1, "@type": "http://www.w3.org/2001/XMLSchema#integer"},
{"@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"},
- {"@value": "1.1E1", "@type": "http://www.w3.org/2001/XMLSchema#double"}
+ {"@value": 11, "@type": "http://www.w3.org/2001/XMLSchema#double"}
]
}]
\ No newline at end of file