Re: [dxwg] Definition of dcat:spatialResolutionInMeters incompatible/problematic with JSON-LD (#1536)

JSON numbers are problematic. JSON-LD will treat them as integers or doubles based entirely on the presence or absence of a fractional part. To maintain fidelity either XSD types, you should stick with string values. 

A future version may change the interpretation based on JCS, which is used for JSON Literals, but it remains fundamentally problematic. 

The problem with JSON numbers goes back to the over-simplified view in JavaScript.

if data type fidelity is important, stick with value objects having a string value. 

-- 
GitHub Notification of comment by gkellogg
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1536#issuecomment-1284295230 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 October 2022 16:43:36 UTC