- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Wed, 28 Sep 2011 14:55:32 +0200
- To: <public-linked-json@w3.org>
Reading the current spec, there is a lot of repetition in "Multiple Typed
Literals for a Single Property"
(http://json-ld.org/spec/latest/#multiple-typed-literals-for-a-single-proper
ty).
Couldn't we simplify this drastically by allowing arrays of literals?
Something like
{
...
"@subject": "http://example.org/articles/8",
"modified":
{
"@literal": [
"2010-05-29T14:17:39+02:00",
"2010-05-30T09:21:28-04:00"
],
"@datatype": "dateTime"
}
...
}
Instead of having to write
{
...
"@subject": "http://example.org/articles/8",
"modified":
[
{
"@literal": "2010-05-29T14:17:39+02:00",
"@datatype": "dateTime"
},
{
"@literal": "2010-05-30T09:21:28-04:00",
"@datatype": "dateTime"
}
]
...
}
--
Markus Lanthaler
@markuslanthaler
Received on Wednesday, 28 September 2011 12:56:03 UTC