arvados :: api :: OrderedJsonModel :: Class OrderedJsonModel
[hide private]
[frames] | no frames]

Class OrderedJsonModel

source code

apiclient.model.JsonModel --+
                            |
                           OrderedJsonModel

Model class for JSON that preserves the contents' order.

API clients that care about preserving the order of fields in API server responses can use this model to do so, like this:

   from arvados.api import OrderedJsonModel
   client = arvados.api('v1', ..., model=OrderedJsonModel())
Instance Methods [hide private]
 
deserialize(self, content) source code