W3C home > Mailing lists > Public > public-credentials@w3.org > April 2017

Re: "Number" in RDF Dataset Normalization

From: Dave Longley <dlongley@digitalbazaar.com>
Date: Fri, 14 Apr 2017 15:45:22 -0400
To: Anders Rundgren <anders.rundgren.net@gmail.com>, W3C Credentials Community Group <public-credentials@w3.org>
Message-ID: <543f384f-bf08-91b3-4c5d-a5221d9e6856@digitalbazaar.com>
On 04/14/2017 03:26 PM, Anders Rundgren wrote:
> Hi All,
>
> I tried to read this document since JSON normalization/canonicalization
> is something that interest a lot of people:
> http://json-ld.github.io/normalization/spec/
>
> It is possible that I have read it too fast but I cannot find any
> handling of Number which actually is a major PITA.
> Other aspects of JSON (not RDF) normalization is something any habile
> programmer should be able handle.

The RDF Dataset Normalization spec is written to operate on an abstract
representation of RDF. JSON-LD can be deserialized to RDF using the
JSON-LD API spec (which is a W3C Rec). That spec mentions how it
handles numbers here:

https://www.w3.org/TR/json-ld-api/#data-round-tripping


-- 
Dave Longley
CTO
Digital Bazaar, Inc.
http://digitalbazaar.com
Received on Friday, 14 April 2017 19:45:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 July 2018 21:19:36 UTC