- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Thu, 4 Apr 2013 16:02:54 +0200
- To: <public-rdf-wg@w3.org>
On Thursday, April 04, 2013 3:51 PM, Andy Seaborne wrote: > > By default, XSD integers and doubles are converted to JSON-native > numbers, > > which is what most developers would expect. If precision or the exact > > lexical form matters, the "use native types" flag of the Convert from > RDF > > algorithm [2] can simply be set to false and no literals will be > converted. > > > > xsd:integers are arbitrary size - there are derived classes that have > specific ranges (e.g. xsd:int is 32 bit - xsd:long at 64 bits is > outside > JSON numbers) Yeah, that's true but (theoretically) JSON numbers are arbitrary size as well. We shouldn't conflate JSON and JavaScript too much. Are you suggesting to change something or was that just an observation? Cheers, Markus -- Markus Lanthaler @markuslanthaler
Received on Thursday, 4 April 2013 14:03:36 UTC