A collection of models.
ℹ️ See also: RESTful API in
server
When creating an object instance from a JSON representation, the fromJSON()
method expects the presence of the correct $context
value. When serializing and unserializing using these models, this is done automatically.
This makes it impossible to use the data for one entity as another.
The $contextVersion
was added to enable clients that cache entities, e.g. in localStorage, to check if their application code is compatibel with the cached data.