Re: Define if JSON-LD is case-sensitive or not (ISSUE-45)

On Dec 4, 2011, at 9:19 AM, Dave Longley wrote:

> On 12/04/2011 09:33 AM, Markus Lanthaler wrote:
>> I've just added ISSUE-45: We do not define if JSON-LD is case-sensitive or
>> not. All they keywords are currently in lowercase but is that a requirement?
>> I would say no and would define JSON-LD as case-insensitive.
> 
> I strongly think we should require JSON-LD keywords to be 
> case-sensitive. JSON is case-sensitive and it will complicate things to 
> accept different case combinations with no significant gains (IMO).

I definitely agree. I access the object via index, and if I needed to do a case-insensitive match, I'd end up having to clone the object to one which had all lower-case keys.

Gregg

> -- 
> Dave Longley
> CTO
> Digital Bazaar, Inc.
> 
> 

Received on Sunday, 4 December 2011 18:23:25 UTC