JSON unbounded collection rendering

Added by Jean Parpaillon about 3 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 about 3 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)