oslo_messaging.
Serializer
¶Generic (de-)serialization definition base class.
deserialize_context
(ctxt)¶Deserialize a dictionary into a request context.
Parameters: | ctxt – Request context dictionary |
---|---|
Returns: | Deserialized form of entity |
deserialize_entity
(ctxt, entity)¶Deserialize something from primitive form.
Parameters: |
|
---|---|
Returns: | Deserialized form of entity |
serialize_context
(ctxt)¶Serialize a request context into a dictionary.
Parameters: | ctxt – Request context |
---|---|
Returns: | Serialized form of context |
serialize_entity
(ctxt, entity)¶Serialize something to primitive form.
Parameters: |
|
---|---|
Returns: | Serialized form of entity |
oslo_messaging.
NoOpSerializer
¶A serializer that does nothing.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.