- From: john.walker <john.walker@semaku.com>
- Date: Thu, 19 Jun 2014 10:44:16 +0200 (CEST)
- To: public-linked-json@w3.org
Hi There, Reading the spec it is not immediately obvious to me if it is possible to get the native JSON types (number, true and false) in the output when compacting/flattening/framing against a context. For example my JSON-LD input document is: { "@id": "http://example.com/id/Spain", "http://example.com/def/isInWorldCup": { "@type": "http://www.w3.org/2001/XMLSchema#boolean", "@value": "false" } } As output I'd like to get: { "@context": { ... the new context ... } "@id": "http://example.com/id/Spain", "http://example.com/def/isInWorldCup": false } Is there a way to specify in the context that native JSON types should be used? Cheers, John
Received on Thursday, 19 June 2014 08:44:44 UTC