This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/30/topics/486?r=487 at Thu, 03 Nov 2022 01:26:57 GMT JSON unbounded collection rendering - Public Comments - Open Grid Forum

JSON unbounded collection rendering

Added by Jean Parpaillon almost 7 years ago

Hi,
In the JSON rendering document, it is not clear how to render unbounded collection.

Possibility: {
"resources": [...],
"links": [...]
}

If this solution is correct, a concrete example may be provided.


Replies (1)

RE: JSON unbounded collection rendering - Added by Jean Parpaillon almost 7 years ago

btw, what is the reason of splitting locations in resources and links ?

At implementation level, urls are likely to be used for indexing, while accessing entity's kind could require more information to be fetched.

Couldn't we simply wrap the array into "entities" or "locations" ?

(1-1/1)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/30/topics/486?r=487 at Thu, 03 Nov 2022 01:26:57 GMT