Eiffel.framework.serialization.api_deserializer.mustache Maven / Gradle / Ivy
{{>noteinfo}}
class
API_DESERIALIZER
feature -- Access
deserializer (f: FUNCTION [TUPLE [content_type:READABLE_STRING_8; body:READABLE_STRING_8; type:TYPE [detachable ANY]], detachable ANY]; a_content_type: READABLE_STRING_8; a_body: READABLE_STRING_8; a_type:TYPE [detachable ANY]): detachable ANY
-- From a given response deserialize body `a_body' with conent_type `a_content_type' to a target object of type `a_type'.
do
Result := f.item ([a_content_type, a_body, a_type])
end
end