W3C home > Mailing lists > Public > public-linked-json@w3.org > January 2015

Representing an object of objects in json-ld

From: Ashley Davison-White <adw999@gmail.com>
Date: Mon, 5 Jan 2015 16:54:33 +0100
Message-ID: <CABMA_7f1cDvV8pc2ox3mSJvSQdV92SLrZExSc2FUHGE2L8D3xw@mail.gmail.com>
To: public-linked-json@w3.org
Hi all

I'm in need of some advice for this structure of json as below. How can
this be represented in json-ld? It's an object of objects.

...... id / context / name etc
"values": {
"12": {
"46": 0.17
},
"13": {
"0": 0,
"30": 0
}
}
....

Where the key is always an integer but the value could be an integer or
string.

Thanks,
- Ashley
Received on Monday, 5 January 2015 15:55:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:43 UTC