On 14/11/14 14:26, Erich Bremer wrote:
Jena converts numbers out as strings when serializing out to JSON-LD.
I'm assuming this has something to do with the 53-bit issues. Is there
a way to modify this behavior? - Erich
Complete, minimal example? Version? Because it does for me when it's
possible. 53-bit isms being one one of the issues. Preserving datatype
is another.
TTL:
<http://example/> <http://example/p> 123 .
JSON-LD:
{
"@id" : "http://example/",
"http://example/p" : 123,
"@context" : {
"p" : {
"@id" : "http://example/p",
"@type" : "http://www.w3.org/2001/XMLSchema#integer"
}
}
}
Andy