Przykład:
{
"identifier": "id",
"label": "name",
"items": [{
"itemType": "dbDef",
"id": "0INDEX",
"path": "index_clean.nsf"
}]
}
Jeśli teraz ta definicja będzie wyglądać np. tak:
{
"identifier": "id",
"label": "name",
"items": [{
"itemType": "dbDef",
"id": "0INDEX",
"path": "index_clean.nsf",
"foo": {
"bar": "barValue"
}
}]
}
To dojo nie będzie potrafiło posługiwać się takim DataStoremChyba, że tym obiektem będzie jedna ze specjalnych konstrukcji. Np. referencja, albo definicja elementu określonego typu:
{
"identifier": "id",
"label": "name",
"items": [{
"itemType": "dbDef",
"id": "0INDEX",
"path": "index_clean.nsf",
"foo": {
"_reference": "barValue"
}
}]
}
{
"identifier": "id",
"label": "name",
"items": [{
"itemType": "dbDef",
"id": "0INDEX",
"path": "index_clean.nsf",
"foo": {
"_type": "barType",
"_value": "barValue"
}
}]
}
Brak komentarzy:
Prześlij komentarz